Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
up vote 2 down vote accepted

I know how to fix it, but why it happens is still unclear. Just issue

icacls . /resize

May be it is because that current folder ACL was not correctly propagated previously.

share|improve this answer
I'll try that. It happened on the root of drives, i.e. e:\ and similar on separate servers. I wonder why they would all not be correctly sized... – Andrew J. Brehm Apr 28 '10 at 8:25
Worked. Thanks. – Andrew J. Brehm Apr 28 '10 at 14:48

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.