changing the permissions