Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

XCacls syntax

Status
Not open for further replies.

LMichel

IS-IT--Management
Apr 2, 2001
85
0
0
BE
What is the correct XCacls syntax to give the following permissions ?

Everyone: Read - This Folder
Everyone: Change - Subfolders and files

Thanks for your help.
 
try this solution assuming admin has Full control upon Folder in c:(otherwise do cacls.exe c:\Folder /t /e /g admin:f )
cacls.exe c:\Folder /t /e /r Everyone -> remove permissions for Everyone from Folder and subfolders
xcacls.exe c:\Folder /t /e /g Everyone:c;r
xcacls.exe c:\Folder\*.* /t /e /g Everyone:c

hope this helps
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top