note 97403 added to function.move-uploaded-file
| From: | checker at d6 dot com | Date: | Sun, 18 Apr 2010 08:51:32 +0000 |
| Subject: | note 97403 added to function.move-uploaded-file | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-168367@lists.php.net to get a copy of this message | ||
As Florian says below, move_uploaded_file ignores the sticky bit on the destination directory, so
even if you have a group sticky bit for the destination of "foo", the moved file is going
to have the group "apache" (or whatever your webserver is using for the group on the temp
upload directory). This seems like a bug, but presumably it's known, so it at least needs to
be called out more clearly.
----
Server IP: 69.147.83.197
Probable Submitter: 98.210.222.234
----
Manual Page -- http://www.php.net/manual/en/function.move-uploaded-file.php
Edit -- https://master.php.net/note/edit/97403
Del: integrated -- https://master.php.net/note/delete/97403/integrated
Del: useless -- https://master.php.net/note/delete/97403/useless
Del: bad code -- https://master.php.net/note/delete/97403/bad+code
Del: spam -- https://master.php.net/note/delete/97403/spam
Del: non-english -- https://master.php.net/note/delete/97403/non-english
Del: in docs -- https://master.php.net/note/delete/97403/in+docs
Del: other reasons-- https://master.php.net/note/delete/97403
Reject -- https://master.php.net/note/reject/97403
Search -- https://master.php.net/manage/user-notes.php