Message23429
Logged In: YES
user_id=469548
Your analysis is not correct. On Unix, you need write
permission to the *directory* to rename. So the os.rename()
call simply succeeds on a read-only file if you have write
access to its parent directory. I think we could shield from
this by always using the fallback implementation
(copy2+unlink(src)), but I'm not sure what the implications
of that would be (qua performance and cross-platform issues). |
|
Date |
User |
Action |
Args |
2007-08-23 14:28:00 | admin | link | issue1076515 messages |
2007-08-23 14:28:00 | admin | create | |
|