Windows Vista/7 "need permissions" to delete
I'm on Windows 7 but experienced this kind of trouble on Vista as well sometimes. When I want to delete a folder when I have previously accessed a subfolder of it, Windows cannot delete it and instead says that I need permissions to do that. I own the files so it can't be that. The problem will usually only go away after I close the Windows Explorer Window in which I viewed the subfolder, or alternatively, I can delete the directory tree manually from the bottom up, files first, and then deleting the empty directories works.
Now, is there a workaround to that? Some setting or policy to tell Windows not to mess around?
I don't have a solution to the cause of your problem but I have a suggestion to make. Recently I got irritated from all the file deletion errors and permissions that used to occur in Windows 7 and I searched on the net. I found out this nifty and very small tool called Unlocker . It bypasses all the file restrictions placed if you are the admininstrator and lets you delete as you want so if you want you can try it out........
Do you have an antivirus? sometimes these get stuck on a file and since they are being used you cannot delete them, the message about permissions is kind of generic in vista and 7, being display in occasions where permissions are not the problem.