#43081 [Opn->Fbk]: move_uploaded_file(): Unable to move
| From: | jani@php.net | Date: | Sun, 11 Nov 2007 19:07:11 +0000 |
| Subject: | #43081 [Opn->Fbk]: move_uploaded_file(): Unable to move | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-119466@lists.php.net to get a copy of this message | ||
ID: 43081
Updated by: jani@php.net
Reported By: bigboss at rambler dot ru
-Status: Open
+Status: Feedback
Bug Type: Apache2 related
Operating System: FreeBSD 6.2
PHP Version: 5.2.4
New Comment:
Works fine for me. Check that the full path is accessible by the user
as what your apache is run as.
Previous Comments:
------------------------------------------------------------------------
[2007-10-27 08:31:33] bigboss at rambler dot ru
Problem not fixed.
------------------------------------------------------------------------
[2007-10-25 12:52:46] jani@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5.2-latest.tar.gz
For Windows (zip):
http://snaps.php.net/win32/php5.2-win32-latest.zip
For Windows (installer):
http://snaps.php.net/win32/php5.2-win32-installer-latest.msi
------------------------------------------------------------------------
[2007-10-23 11:29:10] bigboss at rambler dot ru
Description:
------------
I have a server with structure:
/usr/home/user/htdocs - folder for PHP-scripts
/usr/home/user/log - folder for apache-logs
/usr/home/user/tmp - folder for PHP temporary files: sessions, upload
Partion /usr mounted with suiddir option and I am using
#chmod -R 4770 /usr/home/user
#chown -R user:www /usr/home/user
Apache working with user=www and group=www.
Problem: uploaded and session files creating with chmod=600
(chown=user:www) and apache can't read this files.
I.e.:
# ls -l /usr/home/user/tmp
total 2
-rw------- 1 wapturbo www 64 Oct 23 15:03
sess_asqiml7a1tr35dp9rteed1psf3
-rw------- 1 wapturbo www 1589 Oct 23 15:03
php8lOQzi
I try use this patch http://reki.ru/products/samag/PHPPatchset.tar.gz
but this don't help.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=43081&edit=1