From: Colin Draper <c.draper@fo...> - 2006-11-02 10:45:19
You should check the permissions on all of the intervening directories,
not just the final one. My guess is that one of the intervening
directories does not allow directory read permission...
Possibly /var/www/mantis/uploads as apache can read from mantis.
[mailto:mantisbt-help-bounces@...] On Behalf Of Adrian
Sent: 02 November 2006 09:01
To: Help with Mantis
Subject: Re: [Mantisbt-help] File Upload Issue
You might want to rule out any path length issues by testing with paths
such as /var/www/uploads/mantis-IT, /var/www/m/uploads/IT etc
[mailto:mantisbt-help-bounces@...]On Behalf Of Singh,
Sent: Thursday 2 November 2006 00:54
Subject: [Mantisbt-help] File Upload Issue
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:
Then we attempt to upload a file, and get the following error:
917732) [function.move-uploaded-file]: failed to open stream: Permission
SYSTEM WARNING: move_uploaded_file() [function.move-uploaded-file]:
Unable to move '/tmp/phpfQiI9b' to
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.
This incoming email was virus scanned for HESA by MessageLabs.
Using Tomcat but need to do more? Need to support web services,
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
Mantisbt-help mailing list