Re: Web Based PHP Content Manager Problems

From: Date: Thu, 22 Mar 2001 17:43:51 +0000
Subject: Re: Web Based PHP Content Manager Problems
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-45151@lists.php.net to get a copy of this message
In article <99dcc5$vm0$1@toye.p.sourceforge.net>, phil@computerusa.com ("Phil") wrote: > I have tried using multiple PHP content manager programs and cannot seem to > get any of them to save files that have been edited over the web interface > unless the file permissions are set to let everybody write to them. > > Of course, we don't want to have out files writeable by the world. I have > tried using these different managers in their own directories, even > protected the directories with a .htaccess file. The same ID that I allow to > access the directory is also the owner of the file. > > What seems to happen once I get authenticated and allowed into the > directory, I may be wrong here, is that my server thinks I am a 'nobody' and > so when I submit the file changes I get permissions error. Everything works > fine with all of the different programs I've tried; if I simply give > everybody write access to the file, but that is not an option. Yes, your web server is apparently running as user "nobody", a common configuration. See the manual chapter on security for more info on setting proper file permissions with PHP. -- CC

« previous php.general (#45151) next »