Apply correct permissions for everything