I have a directory:
Users
Inside the directory, 15 other directories:
2006
2007
2008
2009
2010
...
Inside each directory are between 100 - 120 User directories. Each
folder name is %username%. All the ACLs on the user's folders are
messed up.
My question is, is there a way to recurse the entire Users directory and
reset all the folder ACLs to be Inherited, plus the addition of the
%username% of each folder to have Modify control, plus be the owner of
the folder and it's subfolders?
Thanks for your help!
- Adam
You might have luck with CACLS, a command line utility for doing this stuff.
c:>cacls c:\path\to\my\dir /T /C /G /E user:F
Will grant full permissions to a directory and all subfolders to a given
user. There are options for inheritance as well.
--
Erich Beyrent
--------------------------
http://www.beyrent.net
_______________________________________________
Perl-Win32-Admin mailing list
Perl-Win32-Admin@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs