help with icacls
We mount the students home folder as \\server\students\year\username\my documents
However someone stuffed something up when they created this years batch of accounts; the user has the correct permissions on \username\ but these are not set to be inherited on the My documents folder or other sub folders.
How can I use icacls to run through the entire \students\year share and ensure that the subfolders within \username have the same perms inherited from \username.
(Ive tried NTFSFix and it sets the correct permissions on \Username but doesnt set them to be inherited to subfolders..
I've just been researching using icacls for my server rsync backup script that I'm writing.
I won't write the command for you, but rather direct you to the Technet article (since I have it in an open tab right now anyway) which thoroughly explains all of the switches: Icacls
Also, worth noting is that Server 2003 SP2 icacls.exe does not support the inheritance bit, and there is a hotfix to apply to get that supported properly: The Icacls.exe utility that is included with Windows Server 2003 Service Pack 2 does not support the inheritance bit