RE: [PHP] mkdir Question
| From: | Jeff Oien | Date: | Sun, 26 Aug 2001 20:41:35 +0000 |
| Subject: | RE: [PHP] mkdir Question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-64540@lists.php.net to get a copy of this message | ||
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/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
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>