Re: CACLS Problem
- From: "Pegasus \(MVP\)" <I.can@xxxxxxx>
- Date: Tue, 11 Oct 2005 12:39:08 +1000
"Charlie" <Charlie@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:98C01041-9448-473B-B139-508838C19CA3@xxxxxxxxxxxxxxxx
> I see that someone else posted a CACLS problem to this NG today, so what
the
> heck; seems like a good enough place......
>
> According to the listed switches, /T "Changes ACLs of specified files in
> the current directory and all subdirectories."
> Yet if I switch to a particular directory then use the command, only the
> subfolder's and file's permissions are changed. How do I get the current
> directory to change?
>
> Here is the syntax that I'm using (from the desired directory, of course):
> cacls *.* /t /g <username>:<perms>
>
> I've also tried typing the full path to the top directory in the tree, but
> that doesn't work either.
>
> Thanks.
.. . . and you're getting a response from the same person.
Your observation is at variance with mine. I used this command:
cacls *.txt /t /g everyone:F
and found that the permissions for all .txt files were changed,
regardless of whether they were located in the current folder
or any subfolder. I recommend you have another look.
Of course if you wish to change the permissions of the
current folder itself (rather than of the files inside it) then
you must do it from its parent. To change the permissions
for C:\Temp you would do this:
cacls c:\temp /t /e /g everyone:f
I also suggest you use the /e switch. Omitting it might
have undesireable results.
.
- Prev by Date: Re: dcom error
- Next by Date: Re: I deleted the pagefile
- Previous by thread: Re: CACLS error
- Next by thread: Re: CACLS Problem
- Index(es):
Relevant Pages
|