Re: [PHP] mkdir question From: Ignacio Vazquez-Abrams (ignacio <email protected>)
Date: 11/15/00

On Wed, 15 Nov 2000, Xi Jiang (ITSports Network) wrote:

> Dear all,
>
> I could not have following code to create a directory on Solaris 5.8 with
> PHP 4.0.1PI2.
>
> $oldumask = umask(0);
> mkdir("$someFolder",0755);
> umask($oldumask);
>
> It says "MkDir failed (Permission denied) ".
>
> Have anybody run into the same problem? Would somebody give me a hint on
> that?
>
> Thanks in advance.
>
> Xi Jiang
>

Does your web server/PHP script have permission to create the directory in
the
parent directory?

-- 
Ignacio Vazquez-Abrams  <ignacio <email protected>>

-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>