Howto: Set file permissions via commandline

  • Thread starter Thread starter Adam Clauss
  • Start date Start date
A

Adam Clauss

Have a Win2000 Server machine (on NTFS) that I need to set the file
permissions for.

Specifically, I need to add permission for a group (as full control) to a
directory, and all of its subdirectories/files.

I cannot simply overwrite all the permission as various subdirectories have
different users allowed to them. I just need to add this one group to all
of them.

Any ideas?
 
Open a Command Prompt Window and type in CACLS /? for the list of command
line options.
 
OK - I don't have access to that machine at the moment - but I was looking
around last night and found the xcacls tool on microsoft's website. I
installed it on a Windows 2003 Server machine and I think I got it to do
what i wanted.
EXCEPT- When I then went to verify that the settings were put on
successfully by right clicking on the folder, properties, and clicking the
Security tab, I got a message saying that the permissions were "Out of
order" and it asked me if I wanted it to reorder them for me, or reset the
permissions. This happens on EVERY folder/file that XCACLS touched.
Is this a known problem betweeen xcacls and Win2003? Or is something else
wrong?
 
Back
Top