set_user_permissions - modified to work for setting the correct permissions on a server after user folders have been copied in from another system.