CACLS problem, "access is denied"

R

Ryan

I recently used CACLS to deny access to some folders, with
cacls *foldername* /d everyone.

I just now changed them back with /p everyone:f. One, and
only one, of the folders gives me an "access is denied"
message. I only have one account on this thing, "owner,"
and needless to say, that account is the one I denied
access with, and the one I used to restore access again.

No idea what's wrong with this crazy thing.
 
J

JW

Shot yourself in the foot, denying access to Everybody.
Everybody includes Administrator too.
That's about as self-destructive as all the posts saying
"I encrypted all my files, but now I lost the key."

Can you Take Ownership ?
If there's only one account, it must be in the Administrators group.

I recently used CACLS to deny access to some folders, with
cacls *foldername* /d everyone.

I just now changed them back with /p everyone:f. One, and
only one, of the folders gives me an "access is denied"
message. I only have one account on this thing, "owner,"
and needless to say, that account is the one I denied
access with, and the one I used to restore access again.

No idea what's wrong with this crazy thing.
 
R

Ryan

Denying access to everyone is what I've always done,
though, and it's always worked fine before now (and still
works, on other files and foldern). The one account is an
administrator, and is the owner of that folder, anyway
(the HD has been in several computers; that particular
folder was created on this one).
 
J

JW

Were you able to Take Ownership ?


Denying access to everyone is what I've always done,
though, and it's always worked fine before now (and still
works, on other files and foldern). The one account is an
administrator, and is the owner of that folder, anyway
(the HD has been in several computers; that particular
folder was created on this one).
 
K

Kent W. England [MVP]

Ryan said:
Denying access to everyone is what I've always done, though, and it's
always worked fine before now (and still works, on other files and
foldern). The one account is an administrator, and is the owner of
that folder, anyway (the HD has been in several computers; that
particular folder was created on this one).

You don't say whether you remembered to use the /e switch. If you
didn't, then you removed other essential permissions. You'll have to
take ownership and restore the missing permissions, or inherit the
permissions from the parent folder.
 
R

Roger Abell

Even though Denied (what ? Full Control) the account
named as Owner of filesystem objects can still change
the permissions.
The one folder where you cannot change the permissions
is evidently in the ownership of some other (non-admin)
account. You can take ownership over it as other stated.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top