note 115829 added to function.rename
| From: | mikhail dot v dot gavrilov at gmail dot com | Date: | Wed, 01 Oct 2014 06:58:58 +0000 |
| Subject: | note 115829 added to function.rename | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-200553@lists.php.net to get a copy of this message | ||
> rename() may now be able to rename files across partitions on *nix based systems
Seems it's not true.
PHP Fatal error: Uncaught exception 'Exception' with message
'rename(/tmp/tables_new/#translit.csv,/home/crmdev/www/bpl-syrena/tables_new/#translit.csv):
Operation not permitted'
$ mount
/dev/mapper/fedora00-root on / type ext4 (rw,relatime,seclabel,data=ordered)
tmpfs on /tmp type tmpfs (rw,seclabel)
----
Server IP: 64.71.164.2
Probable Submitter: 81.30.214.93
----
Manual Page -- http://php.net/manual/en/function.rename.php
Edit -- https://master.php.net/note/edit/115829
Del: integrated -- https://master.php.net/note/delete/115829/integrated
Del: useless -- https://master.php.net/note/delete/115829/useless
Del: bad code -- https://master.php.net/note/delete/115829/bad+code
Del: spam -- https://master.php.net/note/delete/115829/spam
Del: non-english -- https://master.php.net/note/delete/115829/non-english
Del: in docs -- https://master.php.net/note/delete/115829/in+docs
Del: other reasons-- https://master.php.net/note/delete/115829
Reject -- https://master.php.net/note/reject/115829
Search -- https://master.php.net/manage/user-notes.php