Intermittent "permission denied" errors when using os.rename and a recently deleted path??
Neil Hodgson
nyamatongwe+thunder at gmail.com
Thu Jul 27 02:59:48 EDT 2006
Russell Warren:
> I'm actually running both... but I would think that once os.remove
> returns that the file is actually gone from the hdd. Why would either
> application be blocking access to a non-existent file?
Does it actually tell you the target is the problem? I see an
"OSError: [Errno 17] File exists" for that case, not a permission error.
A permission error could occur, for example, if GDS has the source open
or locked when you call os.rename.
Neil
More information about the Python-list
mailing list