Move permissions to right place