Cacls
By Joshua Erdman
Digital Foundation, inc.
Cacls comes with Windows NT4.0/2000/XP. It is used to add or remove security permissions to files and
folders. It is very handy, for example, if you wanted to add the administrator group to a bunch of files without
changing the other security settings.
cacls /T /E /G administrator:F d:\users\*.*
Cacls will add Full Control for the administrator account to all files and subfolders in the Users folder of the D:\
drive.
cacls /T /E /R Everyone d:\users
Cacls will remove all permissions for the 'Everyone' group in all files and subfolders in the Users folder of the
D:\ drive.
WARNING! Be sure to use the /E switch when you are just making modifications to the ACLs of a file.
Without the /E switch, your settings will replace the current security with only what is specified.
Article last reviewed: 05/24/2004
|
Created by: Digital Foundation,
inc.
Copyright © 2002-2005 Digital Foundation,
inc.
www.networkclue.com
|
|
|
All content of the NetworkClue website is copyrighted. Articles, notes,
outlines, and all other materials may not be stored on the Internet or sold or
placed by themselves or with other material in any electronic or printed format in whole or
part. However materials may be referenced by links to the site.
|