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 bbrazil
Recipients bbrazil, eric.araujo, jemfinch, jlgijsbers, loewis, tarek
Date 2010-08-08.14:53:09
SpamBayes Score 8.588549e-09
Marked as misclassified No
Message-id <1281279191.66.0.485710468291.issue1076515@psf.upfronthosting.co.za>
In-reply-to
Content
Here's a quick test:

Python 3.2a1+ (py3k:83811, Aug  8 2010, 09:00:22) 
[GCC 4.2.4 (Ubuntu 4.2.4-1ubuntu4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import os, shutil
>>> open('a', 'w').write('a')
1
>>> open('b', 'w').write('b')
1
>>> os.chmod('b', 000)
>>> shutil.move('a', 'b')
>>> open('b').read()
'a'
>>> 

This is the correct behaviour on Unix, so I'd say this can be closed off.
History
Date User Action Args
2010-08-08 14:53:13bbrazilsetrecipients: + bbrazil, loewis, jlgijsbers, jemfinch, tarek, eric.araujo
2010-08-08 14:53:11bbrazilsetmessageid: <1281279191.66.0.485710468291.issue1076515@psf.upfronthosting.co.za>
2010-08-08 14:53:10bbrazillinkissue1076515 messages
2010-08-08 14:53:10bbrazilcreate