Re: [PHP] PHP permissions problem

2003-08-26 Thread Lowell Allen
> * Thus wrote Lowell Allen ([EMAIL PROTECTED]): >> My commercial host is set up with the public root directory, "public_html", >> owned by user: userid, group: nobody. Directories I create within >> public_html are owned by user: userid, group: userid. As a result, PHP does >> not have permission

Re: [PHP] PHP permissions problem

2003-08-26 Thread Curt Zirzow
* Thus wrote Lowell Allen ([EMAIL PROTECTED]): > My commercial host is set up with the public root directory, "public_html", > owned by user: userid, group: nobody. Directories I create within > public_html are owned by user: userid, group: userid. As a result, PHP does > not have permission to cre

Re: [PHP] php permissions

2002-04-19 Thread Erik Price
On Friday, April 19, 2002, at 02:44 PM, ROBERT MCPEAK wrote: > Isn't it quite common to have php creating/editing/deleting files on > the server? How is this done in a secure manner? Running Apache/PHP as 'nobody' isn't really that secure, since there may be other services running on the sys

RE: [PHP] php permissions

2002-04-19 Thread ROBERT MCPEAK
Craig, you seem very knowledgable and I appreciate your help. I confused matters by mentioning the word "upload." I'm actually not using php to upload the files. The user ftps the files to the server, and the ownership permissions prevent php from manipulating the files. I'm looking for a clea

RE: [PHP] php permissions

2002-04-19 Thread Craig Vincent
> How? Manually each time a file is uploaded? Or with PHP somehow? > > I appreciate your response, but perhaps I'm not clear enough. > > Isn't it quite common to have php creating/editing/deleting files on > the server? How is this done in a secure manner? > > Could you explain further? Well t

Re: [PHP] php permissions

2002-04-19 Thread ROBERT MCPEAK
How? Manually each time a file is uploaded? Or with PHP somehow? I appreciate your response, but perhaps I'm not clear enough. Isn't it quite common to have php creating/editing/deleting files on the server? How is this done in a secure manner? Could you explain further? Thanks. >>> "Dave

Re: [PHP] php permissions

2002-04-19 Thread Erik Price
On Friday, April 19, 2002, at 01:53 PM, ROBERT MCPEAK wrote: > My sysadmin is hesitant to give php more access until I do some > research about the security issues involved, and I am a relative newbie > and I'm not sure what the issues are or how to find out more about > them. > > How do I give

Re: [PHP] php permissions

2002-04-19 Thread Dave Raven
chown them to nobody. - Original Message - From: "ROBERT MCPEAK" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, April 19, 2002 7:53 PM Subject: [PHP] php permissions > php is running on our box as nobody:nogroup. I'm trying to write php > code that will edit/delete files