|
Re: "You need permission to perform this action"
I get this message a lot when when I attempt to move or delete a directory and I have one or more files within that directory open in an application. First it says "You need to confirm this operation", and then it says "You need permission to perform this action". Strangely, it seems to occur only when files in subdirectories are open and not when files directly within the directory are open.
Demonstration:
1) Open up two Windows Explorer windows.
2) In one of the explorers, create a directory named "TopDir" and a subdirectory named "SubDir". Open SubDir in explorer.
3) Right-click in the SubDir folder and select "New" and then "Compressed (zipped) Folder".
4) Double-click the new zip file to open it in Explorer.
5) From the OTHER explorer window, attempt to delete the TopDir folder. You will experience this strange behavior.
If you instead tried to create the zip file directly inside of TopDir, open the zip, and then try to delete TopDir, it deletes fine.
Why do we get such a misleading error message? Something like "Cannot delete or move this directory because one or more files in this directory are in use," would be a LOT more helpful.
|