Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Can't edit file owned by httpd  (Read 4315 times)

0 Members and 1 Guest are viewing this topic.

xcruci8

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 2
    • Macsata Family
Can't edit file owned by httpd
« on: June 17, 2005, 07:57:55 pm »

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?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Can't edit file owned by httpd
« Reply #1 on: June 30, 2005, 05:38:21 pm »

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).
Logged
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 19 queries.