Re: Permission Denied
| From: | jacob at keystreams dot com | Date: | Sun, 12 Jan 2003 04:14:23 +0000 |
| Subject: | Re: Permission Denied | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-131300@lists.php.net to get a copy of this message | ||
The user/group (commonly nobody.nogroup or nobody.nobody) that your web server
runs under probably does not have the permissions necessary to chmod those
directories (ie: they are owned by someone else).
Quoting Stephen <webmaster@melchior.us>:
> Why do I get this error whenever I try to CHMOD something in PHP or create a
> directory (in this case):
>
> Warning: mkdir(packs/bob) [function.mkdir]: Permission denied in
> c:\inetpub\wwwroot\phpiw\classes\class.cp.php on line 20
>
> Here's line 20 of class.cp.php:
>
> mkdir('packs/'.$package, 0777);
>
> Any help would be great!
>
> Thanks,
> Stephen Craton
> http://www.melchior.us
>
> "What's the point in appearance if your true love, doesn't care about it?"
> --
> http://www.melchior.us
----- End forwarded message -----