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:24:34
SpamBayes Score 7.957882e-06
Marked as misclassified No
Message-id <1297542271.3723.37.camel@localhost.localdomain>
In-reply-to <1297541661.79.0.393528175698.issue11202@psf.upfronthosting.co.za>
Content
> Ok.
> 
> But that makes the whole method inconsistent.
> 
> Basically, if it's on the same filesystem, rename the file, and thus
> not inheriting ACL. If it's on another use copy2, and inherit ACL.

I think you're misunderstanding copy2. It will copy the ACL from the
source file, not from the target directory or filesystem.
Actually, if you look at copy2's implementation, it's just copyfile()
followed by copystat().
History
Date User Action Args
2011-02-12 20:24:35pitrousetrecipients: + pitrou, tarek, brian.curtin, Anders.Østhus
2011-02-12 20:24:34pitroulinkissue11202 messages
2011-02-12 20:24:34pitroucreate