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 igs
Recipients igs
Date 2008-05-13.21:28:47
SpamBayes Score 0.042951904
Marked as misclassified No
Message-id <1210714130.89.0.107453943261.issue2845@psf.upfronthosting.co.za>
In-reply-to
Content
At least in Python 2.4 shutil.copy2() not only copies content and 
access times of a files like stated in the documentation but also the 
access bits.

That behaviour I would not expect because in other functions from 
shutil it is explicitly stated if the access bits are copied.

In fact I used
    shutil.copy2(src, dest)
    shutil.copystat(src, dest)
up to now. What does not work if the read-only attribute is set and 
what is completely nonsense after having a look into the implementation.
History
Date User Action Args
2008-05-13 21:28:51igssetspambayes_score: 0.0429519 -> 0.042951904
recipients: + igs
2008-05-13 21:28:50igssetspambayes_score: 0.0429519 -> 0.0429519
messageid: <1210714130.89.0.107453943261.issue2845@psf.upfronthosting.co.za>
2008-05-13 21:28:49igslinkissue2845 messages
2008-05-13 21:28:48igscreate