I am looking at using icacls.exe. However, before proceeding, I wanted clarification on the difference between these two ACL's:

            (OI) - object inherit
            (CI) - container inherit

1 Answer 1


These flags control the inheritance of ACLs. There are other flags, too-- IO and NP. You can see more about them in the article I link below.

In short, access control entries (ACEs) flagged only with "Object Inheritance" apply that ACE to files in a folder, but not subfolders within that folder. ACEs flagged only with "Container Inheritance" apply that ACE to subfolders of the folder but not files.

There are several more permutations possible, too. You can see more verbose, human-readable descriptions here:

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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