php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #43081 move_uploaded_file(): Unable to move
Submitted: 2007-10-23 11:29 UTC Modified: 2007-11-19 01:00 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: bigboss at rambler dot ru Assigned:
Status: No Feedback Package: Apache2 related
PHP Version: 5.2.4 OS: FreeBSD 6.2
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: bigboss at rambler dot ru
New email:
PHP Version: OS:

 

 [2007-10-23 11:29 UTC] 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.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-10-27 08:31 UTC] bigboss at rambler dot ru
Problem not fixed.
 [2007-11-11 19:07 UTC] jani@php.net
Works fine for me. Check that the full path is accessible by the user as what your apache is run as.
 [2007-11-19 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 10 14:01:33 2024 UTC