Problem with icacls on Windows 2003: "Acl length is incorrect"

Posted by Andrew J. Brehm on Super User See other posts from Super User or by Andrew J. Brehm
Published on 2010-04-27T16:35:51Z Indexed on 2010/04/27 16:43 UTC
Read the original article Hit count: 904

Filed under:
|

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)

Result is:

processed file: file
Successfully processed 1 files; Failed processing 0 files

What's going on?

© Super User or respective owner

Related posts about windows-server-2003

Related posts about icacls