AFP548

homedir permissions

Hello i would like to re propagate the permissions of the network usersfolders on my server is this script the right way to go, has anyone done this before ? it there an easier way? for user in * ; do chown -R $user:staff $user chmod 755 $user chmod -R 700 $user/Desktop/ $user/Documents/ $user/Library/ $user/Music/ $user/Movies/ $user/Pictures/ chmod -R 755 $user/Public/ $user/Sites/ chmod 733 $user/Public/Drox\ Box/ done :| :| :|
Exit mobile version