#2 correct read and write parameters order on set_permissions and list_permissions, read-write perms were in bad order