Put the permissions in the correct place