Re: XCACLS and Home Folder?

From: Mark Vilez (notvalid@invalid.net)
Date: 05/15/02


From: Mark Vilez <notvalid@invalid.net>
Date: Wed, 15 May 2002 00:34:23 GMT


"Greg M. Topf" <greg@nospam.here> wrote in
news:uiDFhC4#BHA.1696@tkmsftngp05:

> Ill ask the question I asked earlier...
> Can you throw me a more detailed syntax?
>
C:\TEMP>cacls /?
Displays or modifies access control lists (ACLs) of files

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
                              W Write
                              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
                              W Write
                              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.

C:\TEMP>xcacls /?
Displays or modifies access control lists (ACLs) of files

XCACLS filename [/T] [/E|/X] [/C] [/G user:perm;spec] [/R user
[...]]
               [/P user:perm;spec [...]] [/D user [...]] [/Y]
   filename Displays ACLs.
   /T Changes ACLs of specified files in
                      the current directory and all
                      subdirectories.
   /E Edit ACL instead of replacing it.
   /X Same as /E except it only affects the ACEs
   that the
                      specified users already own.
   /C Continue on access denied errors.
   /G user:perm;spec Grant specified user access rights.
                      Perm can be: R Read
                                   C Change (write)
                                   F Full control
                                   P Change Permissions (Special
                                access)
                                   O Take Ownership (Special
                                access)
                                   X EXecute (Special access)
                                   E REad (Special access)
                                   W Write (Special access)
                                   D Delete (Special access)
                      Spec can be the same as perm and will only
                      be
                           applied to a directory. In this case,
                           Perm will be used for file inheritence
                           in this directory. If not omitted:
                           Spec=Perm. Special values
                           for Spec only:
                                   T Not Specified (for file
                                inherit,
                                      only for dirs valid)
                                      At least one access right
                                has to follow!
                                      Entries between ';' and T
                                will be ignored!

   /R user Revoke specified user's access rights.
   /P user:perm;spec Replace specified user's access rights.
                      for access right specification see /G option
   /D user Deny specified user access.
   /Y Replace user's rights without verify

Wildcards can be used to specify more that one file in a command.
You can specify more than one user in a command.
You can combine access rights.



Relevant Pages

  • Re: NTFS Permission
    ... > XCACLS.exe to change NTFS permission from a Batch file ... > See Command text below. ... > filename Displays ACLs. ... > You can specify more than one user in a command. ...
    (microsoft.public.windows.server.scripting)
  • Re: Problem when redeined macro for floats with usepackage{color}
    ... tables) so that single spacing is used. ... % - User can specify draft copies, ... The \beforepreface command creates the title page, ...
    (comp.text.tex)
  • Re: Problem when redeined macro for floats with usepackage{color}
    ... % - User can specify draft copies, ... The \beforepreface command creates the title page, ... % so that single spacing is used. ...
    (comp.text.tex)
  • Re: groupadd -R problem
    ... When I want to add a group to the system, I usually specify the name ... with the vigr command, as well, but you have to remember to type ... file (in the file specified as the chroot directory for the jail) to ...
    (Debian-User)
  • RE: DTS and stored procedure
    ... There is a command prompt utility "dtsrun". ... The DTS package can be stored in the Microsoft® SQL Server™ ... Specify server_name to ... Displays the encrypted command used to execute the DTS package without ...
    (microsoft.public.sqlserver.dts)