This is an old revision of the document!
Script to reset user files permissions (home directories, mail, profiles):
#!/usr/bin/perl -w use strict; my @users = `ls -1 /home/e-smith/files/users`; foreach (@users) { chomp ($_); print "Changing $_\n"; `chmod -R 700 /home/e-smith/files/users/$_`; `chown -R $_.$_ /home/e-smith/files/users/$_`; `chmod -R 700 /home/e-smith/files/samba/profiles/$_`; `chown -R $_.$_ /home/e-smith/files/samba/profiles/$_`; `chmod -R 700 /home/e-smith/files/samba/profiles/$_.V2`; `chown -R $_.$_ /home/e-smith/files/samba/profiles/$_.V2`; }
Reset permissions on all files in an I-Bay:
signal-event ibay-modify-files <i-bay name>
You can also use the Server Manager. 'Modify' the I-Bay, then just click 'Save'.