TheGrandHooHa
Technical User
Recently, we moved our user's data folders (students, faculty, and admin at a local school district) to a new server and had to re-create all the user folders. Our file structure is, basically, this:
I need some way to, en masse, go through and provide read and write permissions to the folders. They inherit permissions for DOMAIN\Administrators, but on each user's folder, I need to have that particular user have read and write permissions. (I.E., the user 'adoe' should have R+W access to the 'adoe' folder, along with the administrators whose access is inherited). CACLS doesn't help, because I have to type in each user's name and folder name by hand. Selecting multiple folders does not work also, because it still requires touching each folder.
There are over 2000 of these folders, so I need a script or a nice program that can do this.
Any suggestions?
Code:
Users
Faculty
--jdoe
--gdoe
Students
--fdoe
--rdoe
Staff
--adoe
--zdoe
I need some way to, en masse, go through and provide read and write permissions to the folders. They inherit permissions for DOMAIN\Administrators, but on each user's folder, I need to have that particular user have read and write permissions. (I.E., the user 'adoe' should have R+W access to the 'adoe' folder, along with the administrators whose access is inherited). CACLS doesn't help, because I have to type in each user's name and folder name by hand. Selecting multiple folders does not work also, because it still requires touching each folder.
There are over 2000 of these folders, so I need a script or a nice program that can do this.
Any suggestions?