Cannot delete folders

P

Python42

If I try to delete a folder named "2008-09-17" via the GUI I get a pop-up
stating

---------------------------
Error Deleting File or Folder
---------------------------
Cannot delete 2008-09-17: Access is denied.

Make sure the disk is not full or write-protected
and that the file is not currently in use.
---------------------------
OK
---------------------------

The folder is NOT in use by any other application. If I drop back to the
command line and type

rd 2008-09-17

the folder deletes with no problem. If I open the folder properties I see
that (in the attributes section), the Read-only box has a small green square
in it. If I check the attributes from the command line it reports that
neither AHR or S is set. If I do a cacls on the folder I get

D:\My Documents\My Pictures\2008-09-17 BUILTIN\Administrators:(OI)(CI)F
NT AUTHORITY\SYSTEM:(OI)(CI)F
JIM\me:F
CREATOR OWNER:(OI)(CI)(IO)F
BUILTIN\Users:(OI)(CI)R
BUILTIN\Users:(CI)(special access:)
FILE_APPEND_DATA

BUILTIN\Users:(CI)(special access:)
FILE_WRITE_DATA

I am logged on as "me". Does anybody have any suggestions? Can anyone tell
me what the green square signifies? I am familiar with "checked" and
"unchecked". I have never done any sharing or setting of share permissions
so inheritence shouldn't be a factor here.
 
P

Python42

It's funny. I've had this problem for months and I never got around to
posting a question about it until recently. As I was reading your "safe
mode" response the answer came to me. I have my disk partitioned into C
(system/apps) and D (data). When I installed XP Pro I created a "My
Documents" folder on D, then used JUNCTION.EXE to replace the My Documents
folder on C with a hard link to the same folder on D. When I open a folder
in My Documents by browsing through the junction point, then I cannot delete
a folder through the GUI. If I browse to the same folder through D: -> My
Documents, etc, then i CAN delete the folder. So there appears to be a
problem with the way XP handles access through a junction.

Thanks for the quick response.
 

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