Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-21-2006, 09:11 AM   #1
LQ Newbie
Registered: Mar 2006
Posts: 24

Rep: Reputation: 15
Uploaded files via web interface get a 600 permissions - how can I change this?

This may be a permissions issue or setting up accounts for use with content management systems. I was wondering if any of you can help.

I am speaking about the files in this folder:
I have a red hat Linux build

I just moved mambo 4.51a ( over to my new dedicated server. I uninstalled RC1 and reinstalled RC2 of docman (, and then I rebuilt my database. Everything seems to work, but when I download a document via the docman front end and it says the file is bad:
“Acrobat could not open 'nam_of_some_file.pdf" because it is either not a supported file type or because the file has been damaged.......”

So I checked the permissions and sure enough that is the cause. They were set at 600, so I changed all to 644 via my ftp client. However, certain files could not be changed. My user name on my server is nwright, but it appears when I upload a document via mambo's docman, the permissions of the document are named "apache" and it writes the file with 600 permissions which gives the above error on the front end when you try to download a file. The permission that works is 644.

My system is using plesk, so I don’t know if that has anything to do with it. Did I miss something in the admin configuration on docman or mambo? This appears more like a Linux problem to me. Do I need to set up a special user and group for mambo on my Linux?

The current group for muskiediver is some group
The current group for apache is apache

When I try to change permissions to an apache owned file via plesk, I get this error:
Unable to change permissions for file /httpdocs/dmdocuments/20060606cert_resolutions.pdf: filemng failed: chmod: changing permissions of `/var/…/…/…/httpdocs/dmdocuments/20060606cert_resolutions.pdf': Operation not permitted filemng: Error occured during /bin/chmod command.

I can change my own files via plesk with no problem. The permission on the var/…/…/…/httpdocs/dmdocuments folder is 777

Any ideas?

I may be experiencing a problem similar to this (minus the suPHP environment problem):


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Vsftpd uploaded files Permissions silver05 Linux - Software 2 09-30-2005 08:22 AM
wsftpd and uploaded file permissions Crashputer Linux - Software 1 08-01-2005 05:10 AM
change uploaded files from filename.avi to filename.avi.html like latheesan Linux - Newbie 3 06-16-2005 04:33 AM
Uploaded Files permissions (proftpd) Wynand1 Linux - Security 1 01-28-2005 03:32 AM
File uploaded via FTP have bad permissions breakerfall Linux - Networking 7 12-28-2003 04:29 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:23 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration