Propagating permissions when child doesn't allow it
hi,
i have directory tree need add user read permissions subdirectories (our backup solution requires it). sensitive subdirectories have excluded inheriting permissions parent directory. there can short of going each 1 , changing value? don't want force other permissions root other one.
thanks!
hi,
script should best solution you, create batch file contains:
for /d /r c:\test %%i in (*) echo y| cacls filename /g username:permission
note: replace c:\test, filename , username.
for information:
how use cacls.exe in batch file
http://support.microsoft.com/kb/135268
undocumented cacls: group permissions capabilities
http://support.microsoft.com/kb/162786
if have difficulty customize script, suggest initial new post in official scripting guys forum! further support there. best resource scripting related problems.
the official scripting guys forum!
http://social.technet.microsoft.com/forums/en-us/itcg/threads
thanks.
this posting provided "as is" no warranties, , confers no rights. please remember click "mark answer" on post helps you, , click "unmark answer" if marked post not answer question. can beneficial other community members reading thread.
Windows Server > Security
Comments
Post a Comment