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.
Created on 2008年07月01日 17:35 by grissiom, last changed 2022年04月11日 14:56 by admin. This issue is now closed.
| Messages (2) | |||
|---|---|---|---|
| msg69053 - (view) | Author: grissiom (grissiom) | Date: 2008年07月01日 17:35 | |
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.
|
|||
| msg70938 - (view) | Author: Antoine Pitrou (pitrou) * (Python committer) | Date: 2008年08月09日 17:05 | |
This is already fixed in the trunk (which will become Python 2.6). |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:56:36 | admin | set | github: 47503 |
| 2008年08月09日 17:05:28 | pitrou | set | status: open -> closed resolution: fixed messages: + msg70938 nosy: + pitrou |
| 2008年07月01日 17:35:08 | grissiom | create | |