Reset Home folder permissions
Ok, we have around 100 pupils on our network with a home directory for each user under the home$ share :
THe permissions are wrong on the majority of these folders and I need to reset them so that the administrator has full control, the teachers group has RW and the actual pupil has RW.
Has anyone got a script that will reset these permissions for me automatically, Its easy enough to add a specific group, but I am struggling to go through the whole structure with a script and set the permission for the specific pupil for their specific home folder.
Please help !