Message113271
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. |
|
Date |
User |
Action |
Args |
2010-08-08 14:53:13 | bbrazil | set | recipients:
+ bbrazil, loewis, jlgijsbers, jemfinch, tarek, eric.araujo |
2010-08-08 14:53:11 | bbrazil | set | messageid: <1281279191.66.0.485710468291.issue1076515@psf.upfronthosting.co.za> |
2010-08-08 14:53:10 | bbrazil | link | issue1076515 messages |
2010-08-08 14:53:10 | bbrazil | create | |
|