Re: File Upload Issue
Yes apache runs the httpd daemon.
I am not sure what you meant by log with the apache account. Please explain.
Thanks
Gurpreet
From: mantisbt-help-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
[mailto:mantisbt-help-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org] On Behalf Of Vincent DEBOUT
Sent: Thursday, November 02, 2006
11:30 AM
To: Help with Mantis
Subject: Re: [Mantisbt-help] File
Upload Issue
Hi,
Is apache runs the httpd daemon? Can you log with the apache account and try to
move a file into the upload directory?
Vincent
Singh, Gurpreet a écrit :
Hi Vincent
Here is the info that you asked for:
/var/www/mantis
File Owner: root
File Group: root
Permissions: 755
/var/www/mantis/uploads
File Owner: apache
File group: root
Permissions: 755
Thanks
Gurpreet
From: mantisbt-help-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
[mailto:mantisbt-help-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org]
On Behalf Of Vincent DEBOUT
Sent: Thursday, November 02, 2006
1:55 AM
To: Help with Mantis
Subject: Re: [Mantisbt-help] File
Upload Issue
Hi,
What are the permissions/owner/group of the /var/www/mantis and
/var/www/mantis/uploads directories ?
Vincent
Singh, Gurpreet a écrit :
Hi,
We are running Mantis 1.0.6 on FC4 with PHP 5 and Apache 2.02. We are having trouble getting file uploads to work. We set the following path as the upload folder for a project:
/var/www/mantis/uploads/IT
Then we attempt to upload a file, and get the following error:
SYSTEM WARNING: move_uploaded_file(/var/www/mantis/uploads/IT/bd8bde1e9d12779c3ccfeccc56917732) [function.move-uploaded-file]: failed to open stream: Permission denied
SYSTEM WARNING: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpfQiI9b' to '/var/www/mantis/uploads/IT/bd8bde1e9d12779c3ccfeccc56917732'
The /var/www/mantis/uploads/IT folder is owned by the apache account and the root group. Its permissions were initially 755, but changing them to 777 did not help.
Here's the interesting thing: if we set the upload folder to /var/www/uploads/IT (i.e., move it out of the mantis installation folder), and keep the same owner, group, and 755 permissions, it works.
Now, we could just give up and leave the uploads folder outside the mantis folder, but I would prefer not to. At the very least, I would like to understand why it does not work inside the mantis folder.
Any assistance anyone can provide will be much appreciated.
Thank you,
Michael Kraft
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ Mantisbt-help mailing list Mantisbt-help@... https://lists.sourceforge.net/lists/listinfo/mantisbt-help
RSS Feed