PDA

View Full Version : Major PERMS headache....


JVRudnick
August 25th 06, 04:35 PM
Hey all...
I have an XP SP@ box, that has my web dev wwwroot folder FULL of client
files, and for some reason in the past week or so, I can no longer just
dblclick a folder to open it to look inside??? I get an alert that says
"Access is denied."

Doing a Properties of that folder shows that (no matter which folder I try
to open, they're all the same) that the READONLY attibute is on. Unchecking
same and then APPLY and then close and then Confirm and then reopen, and the
READONLY box is STILL Checked -- why?

Next, when I click on Security, I get an alert that says "You do not have
perms to view or edit the folder, but you can take ownership or change audit
settings" -- so I then click Advanced > Owner, and yes my login is there, so
I replace the "Unable to show current owner" by clicking on my name and APPLY
and yes, I do check the Replace checkbox too..

That all said, it appears that somehow I've been "ungranted" perms to open
every single folder (and there's like 800+) in my wwwroot folder.

HOW can I with a single transaction, REDO the perms for every folder so that
I as the signed in Admin person -- as well as allowing my dev box to use IIS6
and serve the ASP files I create so that my InternetUser anon account can
ALWAYS use the folders...

?

Jim

Steven L Umbach
August 26th 06, 01:00 AM
My biggest concern would be why did that happen that you were suddenly
denied access. A possible explanation could be that you were hacked or
malware did it. Be sure to check the list of users on your computer and
membership of groups, particularly administrators, to see if it is what you
expect and also check the security log via Event Viewer to see if there is
an unexplained logons to the computer.

If the subfolders inherit permissions from the parent folder then you just
need to configure permissions to be the way you want in the parent folder.
For more complicated structures you may want to take a look at command line
tools like Xcacls.vbs and fileacl to set your permissions which have some
very powerful capabilities but try them out on a test computer first. Of
course if you had backup of your computer or folders in question your
solution would be simply to restore from backup which would include security
settings.

Steve

http://support.microsoft.com/?id=825751 --- xcacls.vbs
http://www.gbordier.com/gbtools/fileacl.htm --- fileacl


"JVRudnick" > wrote in message
...
> Hey all...
> I have an XP SP@ box, that has my web dev wwwroot folder FULL of client
> files, and for some reason in the past week or so, I can no longer just
> dblclick a folder to open it to look inside??? I get an alert that says
> "Access is denied."
>
> Doing a Properties of that folder shows that (no matter which folder I try
> to open, they're all the same) that the READONLY attibute is on.
> Unchecking
> same and then APPLY and then close and then Confirm and then reopen, and
> the
> READONLY box is STILL Checked -- why?
>
> Next, when I click on Security, I get an alert that says "You do not have
> perms to view or edit the folder, but you can take ownership or change
> audit
> settings" -- so I then click Advanced > Owner, and yes my login is there,
> so
> I replace the "Unable to show current owner" by clicking on my name and
> APPLY
> and yes, I do check the Replace checkbox too..
>
> That all said, it appears that somehow I've been "ungranted" perms to open
> every single folder (and there's like 800+) in my wwwroot folder.
>
> HOW can I with a single transaction, REDO the perms for every folder so
> that
> I as the signed in Admin person -- as well as allowing my dev box to use
> IIS6
> and serve the ASP files I create so that my InternetUser anon account can
> ALWAYS use the folders...
>
> ?
>
> Jim

Google