Question

Locked

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.

4 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Answers

Collapse -

Permissions

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 -

Permissions

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.

Back to Web Development Forum
4 total posts (Page 1 of 1)  

Related Discussions

Related Forums