I am confused by the output of icacls on Windows 2003. Everything appears to work on Windows 2008. I am trying to change permissions on a directory:
icacls . /grant mydomain\someuser:(OI)(CI)(F)
This results in the following error:
.: Acl length is incorrect. .: An internal error occurred. Successfully processed 0 files; Failed processing 1 files
The same command used on a file named "file" works:
icacls file /grant mydomain\someuser:(OI)(CI)(F)
processed file: file Successfully processed 1 files; Failed processing 0 files
What's going on?