Question Locked

Command line tool for folder permission

0 helpful
4 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
Hi i am looking for a command line tool or script which will give me folder permissions that differ from their parent folder

4 replies

by p.j.hutchison

You can use the CACLS.EXE (Change ACLs) tool to view/add/remove permissions.

by velayudhan.radhakrishnan

Hi thanks for the reply, i used cacls.exe for retriving folder permissions but how do i use it for retriving folder permissions that have different permission from the parent folder

by p.j.hutchison

You mean just display the folder specific permissions and ignore the inherited permissions?

Use the result and filter it with FIND e.g.
cacls . | find "(CI)" /N

which exclude ACLS with container inheritance.

This discussion is closed to new replies.