#43081 [NEW]: move_uploaded_file(): Unable to move
| From: | bigboss at rambler dot ru | Date: | Tue, 23 Oct 2007 11:29:11 +0000 |
| Subject: | #43081 [NEW]: move_uploaded_file(): Unable to move | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-118869@lists.php.net to get a copy of this message | ||
From: bigboss at rambler dot ru
Operating system: FreeBSD 6.2
PHP version: 5.2.4
PHP Bug Type: Apache2 related
Bug description: move_uploaded_file(): Unable to move
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 bug report at http://bugs.php.net/?id=43081&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=43081&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=43081&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=43081&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=43081&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=43081&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=43081&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=43081&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=43081&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=43081&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=43081&r=support
Expected behavior: http://bugs.php.net/fix.php?id=43081&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=43081&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=43081&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=43081&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=43081&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=43081&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=43081&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=43081&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=43081&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=43081&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=43081&r=mysqlcfg