Web Development



Command line tool for folder permission

By velayudhan.radhakrishnan ·
Hi i am looking for a command line tool or script which will give me folder permissions that differ from their parent folder

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Answers

Collapse -


by p.j.hutchison In reply to Command line tool for fol ...

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

Collapse -


by velayudhan.radhakrishnan In reply to Permissions

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

Collapse -

Non-inherited permissions

by p.j.hutchison In reply to Permissions

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.

Related Discussions

Related Forums