User's Home Directory Ownership
I have used the script in the Edugeek wiki to change the ownership of users' folders from administrator to their username - great script, thank you very much!
The reason we are doing this is so that we can start using quotas on users' home drives.
We have run the script and it has reset the permissions, the problem comes when we create a new user. I have created a new user in Active Directory and a home folder was automatically created. Unfortunately the ownership of the folder was set to 'Administrators' and not the user's username.
Is there anyway to automatically set the ownership of new home directories to the user's username?