Update permissions.tmp