Re: mkdir Question
| From: | Gianluca Baldo | Date: | Sun, 26 Aug 2001 20:39:42 +0000 |
| Subject: | Re: mkdir Question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-64539@lists.php.net to get a copy of this message | ||
Jeff
JO> mkdir ("/usr/www/users/xxxx/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 you copy there.
Cheers,
Gianluca
JO> I'm then unable
JO> to delete or modify files in that directory. Is there a way around
JO> this? Thanks.
JO> Jeff Oien
--
ALBASOFTWARE
C/ Mallorca 186 - 3º 1ª
08036 Barcelona (Spain)
Tel. +34 93454009 - +34 934549324
Fax. +34 934541979
@@ ICQ 47323154 @@
webmaster@albasoftware.com
http://www.albasoftware.com
http://www.phpauction.org
http://www.gianlucabaldo.com