Scripts Thread, help with icacls in Coding and Web Development; We mount the students home folder as \server\students\year\username\my documents
However someone stuffed something up when they created this years batch ...
1st March 2013, 01:12 AM #1
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..
1st March 2013, 08:30 PM #2
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
By beeswax in forum Virtual Learning Platforms
Last Post: 3rd May 2006, 07:44 PM
Last Post: 18th February 2006, 09:34 AM
Last Post: 14th December 2005, 06:31 PM
By ninjabeaver in forum Wireless Networks
Last Post: 2nd December 2005, 11:50 AM
Last Post: 13th October 2005, 08:42 AM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)