This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients Anders.Østhus, brian.curtin, pitrou, tarek
Date 2011-02-12.20:11:04
SpamBayes Score 4.756822e-06
Marked as misclassified No
Message-id <1297541461.3723.35.camel@localhost.localdomain>
In-reply-to <1297540446.76.0.258501136862.issue11202@psf.upfronthosting.co.za>
Content
> 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.
History
Date User Action Args
2011-02-12 20:11:05pitrousetrecipients: + pitrou, tarek, brian.curtin, Anders.Østhus
2011-02-12 20:11:04pitroulinkissue11202 messages
2011-02-12 20:11:04pitroucreate