in reply to Permission denied to delete an empty folder
in thread rmtree deletes everything inside the folder but doesn't deletes the root folder him self

Additionally to what bronto said, under Win32, an application that is still running and has the directory in question as its current working directory will also prevent the directory from being deleted.

  • Comment on Re: Permission denied to delete an empty folder