From:             philip at cornado dot com
Operating system: linux
PHP version:      4.3.2
PHP Bug Type:     Filesystem function related
Bug description:  rename() working across partitions

Unlike copy(), rename() doesn't work across partitions and generates an
error similar to:

Warning: rename() failed (Cross-device link) in foo.php

This works in Windows, not linux.  The rename() docs do not mention
anything about partitions (or that it behaves like a native rename()), so
this can be seen as a bug.  BC shouldn't be a concern.
-- 
Edit bug report at http://bugs.php.net/?id=23913&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=23913&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=23913&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=23913&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=23913&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=23913&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=23913&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=23913&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=23913&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=23913&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=23913&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23913&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=23913&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=23913&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=23913&r=gnused

Reply via email to