Re: mkdir question

From: Date: Wed, 15 Nov 2000 21:53:36 +0000
Subject: Re: mkdir question
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-25531@lists.php.net to get a copy of this message
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@openservices.net>

« previous php.general (#25531) next »