Re: Rights problem - Even the administrator is locked out, but I don't see why




You are rapidly losing me. The command

cacls "d:\My Folder\My Subfolder\MyFile.ext"

will display the current security settings of MyFile.ext unless
you have a rogue command on your machine that is taking
the place of c:\windows\system32\cacls.exe.

"Will Pittenger" <see.my.sig@xxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:eBh%23hYIxIHA.1980@xxxxxxxxxxxxxxxxxxxxxxx
Sorry, you had me using another command. This version still isn't doing
what you expected.

D:\Images\Collection>cacls D:\Images\Collection\...\descript.ion

Displays or modifies access control lists (ACLs) of files

CACLS filename [/T] [/E] [/C] [/G user:perm] [/R user [...]]
[/P user:perm [...]] [/D user [...]]
filename Displays ACLs.
/T Changes ACLs of specified files in
the current directory and all subdirectories.
/E Edit ACL instead of replacing it.
/C Continue on access denied errors.
/G user:perm Grant specified user access rights.
Perm can be: R Read
W Write
C Change (write)
F Full control
/R user Revoke specified user's access rights (only valid with
/E).
/P user:perm Replace specified user's access rights.
Perm can be: N None
R Read
W Write
C Change (write)
F Full control
/D user Deny specified user access.
Wildcards can be used to specify more that one file in a command.
You can specify more than one user in a command.

Abbreviations:
CI - Container Inherit.
The ACE will be inherited by directories.
OI - Object Inherit.
The ACE will be inherited by files.
IO - Inherit Only.
The ACE does not apply to the current file/directory.
-----
will 68 at mtco dot com
will dot pittenger1 at gmail dot com (use this address for large
signatures)

Pegasus (MVP) wrote:
The command

cacls "FileName"

will show you the permissions. I gave you a fully detailed
example in my very first reply in this thread - please use it!


"Will Pittenger" <see.my.sig@xxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:u7qVAdDxIHA.4492@xxxxxxxxxxxxxxxxxxxxxxx
Attrib lists "A" for a problem file. I assume "A" is for "archive." I
can't post the permission details as the command you gave earlier,
"cacls d:\images\Collection /t /e /g "Will Pittenger":F" didn't appear
to work as you expected. All it told me was that the file was
processed. I just reviewed the command. The version you gave changes
permissions rather than listing them.
-----
will 68 at mtco dot com
will dot pittenger1 at gmail dot com (use this address for large
signatures)

Pegasus (MVP) wrote:
Sorry, I cannot help you until you post the permission details
of one of the problem files. And while you're at it - add the
output from the attrib.exe command, e.g. like so:

attrib SomeFile.xls


"Will Pittenger" <see.my.sig@xxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:uFe8AMDxIHA.1936@xxxxxxxxxxxxxxxxxxxxxxx
No. I just checked. I tried to edit a file and got an "Access
Denied" error.
-----
will 68 at mtco dot com
will dot pittenger1 at gmail dot com (use this address for large
signatures)

Pegasus (MVP) wrote:
I assume you have now solved your problem.

"Will Pittenger" <see.my.sig@xxxxxxxxxxxxxxxxxxxxxxx> wrote in
message news:uE7aB6$wIHA.1240@xxxxxxxxxxxxxxxxxxxxxxx
It processed the files, for whatever that means.
-----
will 68 at mtco dot com
will dot pittenger1 at gmail dot com (use this address for large
signatures)



.



Relevant Pages