note 57959 added to function.move-uploaded-file
| From: | jest3r at mtonic dot net | Date: | Thu, 20 Oct 2005 04:10:48 +0000 |
| Subject: | note 57959 added to function.move-uploaded-file | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-97272@lists.php.net to get a copy of this message | ||
It seems that move_uploaded_file use the GROUP permissions of the parent directory of the tmp file
location, whereas a simple "copy" uses the group of the apache process. This could create
a security nighmare if your tmp file location is owned by root:wheel
----
Manual Page -- http://www.php.net/manual/en/function.move-uploaded-file.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+57959
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+57959&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+57959&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+57959&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+57959&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+57959&report=yes&reason=non-english
Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+57959&report=yes&reason=already+in+docs
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+57959&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+57959&report=yes
Search -- http://master.php.net/manage/user-notes.php