Using the command:
iCACLS.exe \\server\serverroot\siteroot /grant:r domain\id:RX /T /C
I can grant access to every file within the site root folder, but the folder itself does not receive the access. The problem being any new file that gets added lacks the read access until the command is run again. What am I not understanding?
The '(OI)' shows that the other objects in this directory will inherit this ACE. The '(CI)' shows that other folders in this directory will again inherit this ACE. (This directory doesn't happen to have any, but if it did, it would automatically inherit the same ACEs).
The reason the folder itself does not receive the access is because I did not tell iCacls I wanted it to make the access inheritable. The command should be:
iCACLS.exe \\server\serverroot\siteroot /grant:r domain\id:(OI)(CI)(RX) /T /C
Does exactly what I need (and for predictable reasons. I like that.)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With