Re: CACLS
From: Oli Restorick [MVP] (oli_at_mvps.org)
Date: 04/01/04
- Next message: DS: "Batch blitz"
- Previous message: Marcelo López: "CACLS"
- In reply to: Marcelo López: "CACLS"
- Next in thread: alfalfa: "Re: CACLS"
- Reply: alfalfa: "Re: CACLS"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 1 Apr 2004 17:31:16 +0100
Would "cacls /t /g user:F" help?
By the way, any user with administrative privileges on the machine could
take ownership of the file and reset the permissions. Also, members of the
Backup Operators group can gain access to the file.
Oli
"Marcelo López" <marcelol@infocorp.com.uy> wrote in message
news:uQe$3$$FEHA.3640@tk2msftngp13.phx.gbl...
>I still have this problem. could anyone help me ??
>
> From: "Marcelo López" <marcelol@infocorp.com.uy>
> Subject: Re: Problem using CACLS
> Date: Thursday, April 01, 2004 10:11 AM
>
> hi,
>
> if i add the last user grant: "domain admins":F
> the administrator could access my folder, and i want only my special user
> to
> access the folder !!
>
> May be i'm forgotting some command to include all subdirs in my cacls
> command ?
>
> Regards
>
>
> "Michael Bednarek" <mb at mbednarek dot com> wrote in message
> news:6nui60p706gj5ber3v0v34m002g5e7t4mb@4ax.com...
>> On Mon, 29 Mar 2004 16:14:45 -0300, "Marcelo López"
> <marcelol@infocorp.com.uy> wrote in
> microsoft.public.win2000.cmdprompt.admin:
>>
>> >hi all, i'm developing a win app which requires have a folder which no
>> >others users can access it.
>> >
>> >So, i'm using impersonation, to switch to a special user created for my
> app.
>> >
>> >To create the folder and give permissions to this "special user" i use
>> >de
>> >prompt command
>> >
>> > CACLS folder /G specialuser:F
>> >
>> >It gives full control to the special user over the folder.
>> >
>> >It worked ok, the special user can access the folder, create and move
> files,
>> >etc. And no other can access the folder from the outside.
>> >
>> >But the problem is that when i want to create a SUBFOLDER inside the
> folder,
>> >the os throws an access denied exception.
>>
>> Did you forget to grant yourself the necessary permissions?
>> CACLS folder /G specialuser:F "Domain Admins":F
>>
>> >I tried using the Change permission (user:C) but it didn't work.
>> >
>> >Coudl someone help me ?
>> >
>> >Regards,
>> >
>> >Marcelo López.
>> >Infocorp Latin America.
>>
>> --
>> Michael Bednarek http://mbednarek.com/ "POST NO BILLS"
>
>
>
>
- Next message: DS: "Batch blitz"
- Previous message: Marcelo López: "CACLS"
- In reply to: Marcelo López: "CACLS"
- Next in thread: alfalfa: "Re: CACLS"
- Reply: alfalfa: "Re: CACLS"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|