note 115829 deleted from function.rename by cmb
| From: | cmb@php.net | Date: | Sun, 22 Dec 2019 09:04:56 +0000 |
| Subject: | note 115829 deleted from function.rename by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-213588@lists.php.net to get a copy of this message | ||
Note Submitter: mikhail dot v dot gavrilov at gmail dot com
----
> 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)