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 grissiom
Recipients grissiom
Date 2008-07-01.17:35:07
SpamBayes Score 0.000287842
Marked as misclassified No
Message-id <1214933709.34.0.0595495782723.issue3253@psf.upfronthosting.co.za>
In-reply-to
Content
Build the environment in a fat32 file system:
$echo test > test_move
$mkdir testmove

If I shutil.move('test_move', 'testmove'), it will raise: 
Traceback (most recent call last):
  File "testmove.py", line 5, in <module>
    shutil.move('test_move', 'test_python')
  File "/usr/lib/python2.5/shutil.py", line 199, in move
    copy2(src,dst)
  File "/usr/lib/python2.5/shutil.py", line 92, in copy2
    copystat(src, dst)
  File "/usr/lib/python2.5/shutil.py", line 69, in copystat
    os.chmod(dst, mode)
OSError: [Errno 1] Operation not permitted: 'test_python/test_move'

If I shutil.move('test_move', 'testmove/testmove'), it will succeed
quietly. This problem doesn't happen in an ext3 file system.
History
Date User Action Args
2008-07-01 17:35:09grissiomsetspambayes_score: 0.000287842 -> 0.000287842
recipients: + grissiom
2008-07-01 17:35:09grissiomsetspambayes_score: 0.000287842 -> 0.000287842
messageid: <1214933709.34.0.0595495782723.issue3253@psf.upfronthosting.co.za>
2008-07-01 17:35:08grissiomlinkissue3253 messages
2008-07-01 17:35:07grissiomcreate