Microsoft KB Archive/149828

= CACLS /C Doesn't Work with /T switch =

Article ID: 149828

Article Last Modified on 11/1/2006

-

APPLIES TO


 * Microsoft Windows NT Workstation 3.5
 * Microsoft Windows NT Workstation 3.51
 * Microsoft Windows NT Server 3.5
 * Microsoft Windows NT Server 3.51

-



This article was previously published under Q149828





SYMPTOMS
When you use the CACLS/T parameter to change an access control list (ACL), the command does not finish if the CACLS command also has the /C parameter provided and an "access denied" error is reached. The CACLS command stops at the first occurrence of an "access denied" error.



MORE INFORMATION
The Cacls.exe security utility located in the %Systemroot%\System32 directory displays or modifies access control lists (ACLs) of files. The CACLS /? command yields the following output on its usage:

 CACLS filename [/T] [/E] [/C] [/G user:perm] [/R user [...]]

[/P user:perm [...]] [/D user [...]] filename     Displays ACLs. /T           Changes ACLs of specified files in                    the current directory and all subdirectories. /E           Edit ACL instead of replacing it. /C           Continue on access denied errors. /G user:perm Grant specified user access rights. Perm can be: R Read C Change (write) F Full control /R user      Revoke specified user's access rights (only valid with                   /E). /P user:perm Replace specified user's access rights. Perm can be: N None R Read C Change (write) F Full control /D user      Deny specified user access.

Wildcards can be used to specify more that one file in a command.

You can specify more than one user in a command.



STATUS
Microsoft has confirmed this to be a problem in Windows NT version 3.51. This problem was corrected in Windows NT Workstation or Server version 4.0.

Additional query words: prodnt ACL security utility utils

Keywords: KB149828

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.