Can't edit file owned by httpd Can't edit file owned by httpd
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Can't edit file owned by httpd

Started by xcruci8, June 17, 2005, 07:57:55 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

xcruci8

I need to modify the config.inc.php file, but I can't because the group is 'httpd' and the owner is 'httpd'.  There is no user 'httpd' on my system (this refers to the linux/apache configuration, not CPG itself).  I am on a shared server and do not have shell access.   I contacted my webhost and they said my script did it somehow and the support people I was online chatting with said they did not have authority to change it (I guess you need root authority to do a CHOWN).  My web host control panel is hsphere and I can edit files via ftp or webshell. Does anyone have any ideas on why httpd became the owner? Any ideas on how I can change the owner?  Could i possibly add an entry for httpd to the .htaccess file?

Joachim Müller

the file config.inc.php is being created by coppermine druing install, so it's owned by the user the webserver runs under, which appears to be httpd in your case. Your webhost should be able to chown it for you however. Your webhost has some strange webserver setup in place, usually the owner of a website is allowed to touch files that that reside within his file structure and have been created by the webserver service. I suggest you ask them not only to chwon the file for you, but to review the server setup, as you might run into similar issues in other places (with other apps as well).