PHP :: Bug #23913 :: rename() working across partitions
| Bug #23913 | rename() working across partitions | ||||
|---|---|---|---|---|---|
| Submitted: | 2003-05-30 19:29 UTC | Modified: | 2003-05-30 19:34 UTC | ||
| From: | philip at cornado dot com | Assigned: | |||
| Status: | Closed | Package: | Filesystem function related | ||
| PHP Version: | 4.3.2 | OS: | linux | ||
| Private report: | No | CVE-ID: | None | ||
[2003-05-30 19:29 UTC] philip at cornado dot com
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.
Patches
Pull Requests
History
AllCommentsChangesGit/SVN commits
[2003-05-30 19:34 UTC] iliaa@php.net