Message128462
> According to the shutil doc page, neither copy or copy2 should do
> this. And since they do, and you say shutil.move is implemented using
> shutil.copy2, shouldn't files moved with shutil.move also then inherit
> the permissions?
There's a misunderstanding I think. shutil.move()'s main path uses
os.rename(). Only does it fall back on copy2() when rename() fails. |
|
Date |
User |
Action |
Args |
2011-02-12 20:11:05 | pitrou | set | recipients:
+ pitrou, tarek, brian.curtin, Anders.Østhus |
2011-02-12 20:11:04 | pitrou | link | issue11202 messages |
2011-02-12 20:11:04 | pitrou | create | |
|