; from user "nobody".
>
> /* Chris Lambert, CTO - [EMAIL PROTECTED]
> WhiteCrown Networks - More Than White Hats
> Web Application Security - www.whitecrown.net
> */
>
> - Original Message -
> From: Jeff Oien <[EMAIL PROTECTED]>
> To: PHP <[EMAIL P
nday, August 26, 2001 4:41 PM
Subject: RE: [PHP] mkdir Question
| However even the permission of 0777 doesn't let me do anything to
| the directory or files in it. I can't even chown or chmod anything in
| it using Telnet once it's created.
| Jeff Oien
|
| > Jeff
| > JO> mk
However even the permission of 0777 doesn't let me do anything to
the directory or files in it. I can't even chown or chmod anything in
it using Telnet once it's created.
Jeff Oien
> Jeff
> JO> mkdir ("/usr/www/users//blah/blah/$username", 0777);
> JO> it sets it to nobody instead of my usern
Jeff
JO> mkdir ("/usr/www/users//blah/blah/$username", 0777);
JO> it sets it to nobody instead of my username.
"Nobody" is the user runng the Apache process that's why it is the owner
of the directory.
You can "chown" the direcotry from your PHP script after you create
it or "chmod" the files
4 matches
Mail list logo