Re: [PHP] Web Based PHP Content Manager Problems

2001-03-22 Thread CC Zona

In article <99dcc5$vm0$[EMAIL PROTECTED]>,
 [EMAIL PROTECTED] ("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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Web Based PHP Content Manager Problems

2001-03-22 Thread Phil

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.

Any help would be greatly appreciated.

Thanks, Phil




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]