Re: Adding multiple entries for the same user with xcacls...
- From: "Jeremy" <jeremy@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sat, 28 Jul 2007 17:40:33 +1000
You need to use the Edit option for xcacls.vbs to prevent the second operation from overwriting the DACL. So make the commands look like this:
cscript xcacls.vbs test /I COPY /SPEC A /G "Domain Admins":618423B
cscript xcacls.vbs test /I COPY /SPEC E /G "Domain Admins":6184237AB /E
"Condiment" <condiment@xxxxxxxxx> wrote in message news:uMq3DMlyHHA.3916@xxxxxxxxxxxxxxxxxxxxxxx
Hello,
Is there a way to add multiple entires for the same user using
xcacls? I am open to other suggestions, but here is what I need to
do...
I need to give Domain Admins specific access to "Subfolders and
Files".
I also need to give Domain Admins specific access to "This Folder
only"
When I use xcacls, the last command just overwrites the first... I
realize that /G replaces the existing settings, however I do not see
any options to accomplish what I need. If there is another tool to
accomplish this, I am open to other possibilities.
cscript xcacls.vbs test /I COPY /SPEC A /G "Domain Admins":618423B
cscript xcacls.vbs test /I COPY /SPEC E /G "Domain Admins":6184237AB
Thank you in advance
.
- References:
- Adding multiple entries for the same user with xcacls...
- From: Condiment
- Adding multiple entries for the same user with xcacls...
- Prev by Date: Re: How to copy recently modifief files
- Next by Date: Re: WSH 5.7
- Previous by thread: Adding multiple entries for the same user with xcacls...
- Next by thread: Re: Find all server o/s info and write to excel
- Index(es):
Relevant Pages
|