using cacls to modify permission

  • Thread starter Thread starter pete0085
  • Start date Start date
P

pete0085

Guest
I am trying to modify permissions of a specific file or files and getting an
error of invalid arguments.

cacls "%SystemRoot%\Inf\Usbstor.pnf" /t /e /c /g "DOMAIN\DOMAIN USERS":D

I'm entering that into the command prompt. I also used "c:\windows" in place
of systemroot. Also tried with or without quotes.
 
Re: using cacls to modify permission


"pete0085" <pete0085@discussions.microsoft.com> wrote in message
news:752280B8-ABBD-4326-AF78-50B118B27DC1@microsoft.com...
>I am trying to modify permissions of a specific file or files and getting
>an
> error of invalid arguments.
>
> cacls "%SystemRoot%\Inf\Usbstor.pnf" /t /e /c /g "DOMAIN\DOMAIN USERS":D
>
> I'm entering that into the command prompt. I also used "c:\windows" in
> place
> of systemroot. Also tried with or without quotes.


Here are the options for the /G switch:
/G user:perm Grant specified user access rights.
Perm can be: R Read
W Write
C Change (write)
F Full control
It's R, W, C or F. There is no "D"!
 
Back
Top