Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Can't edit file owned by httpd  (Read 4808 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.016 seconds with 20 queries.