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:45:50
SpamBayes Score 6.678844e-08
Marked as misclassified No
Message-id <1297543547.3723.39.camel@localhost.localdomain>
In-reply-to <1297542824.43.0.726238820934.issue11202@psf.upfronthosting.co.za>
Content
> On my system (Win Server 2008 R2 64-Bit, Python 2.7.1), when I use
> copy, copy2 or move(to another filesystem), the file _will_ get the
> ACL of the DST folder, and remove any ACL in SRC file that the DST
> folder does not have.
> 
> Thus, it doesn't copy it from the source file, but inherits from the
> DST folder.

Again, this follows from the warning at the top of the shutil doc page:

“On Windows, file owners, ACLs and alternate data streams are not
copied.”

If they are not copied, then obviously they simply get the default value
for a new file, which is simply the value of the containing folder.
History
Date User Action Args
2011-02-12 20:45:50pitrousetrecipients: + pitrou, tarek, brian.curtin, Anders.Østhus
2011-02-12 20:45:50pitroulinkissue11202 messages
2011-02-12 20:45:50pitroucreate