Re: MkDir failed (Permission denied)

From: Date: Sat, 10 Mar 2001 21:50:25 +0000
Subject: Re: MkDir failed (Permission denied)
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-43342@lists.php.net to get a copy of this message
Quoting Dan Pupek (Sat, Mar 10, 2001 at 02:49:40PM -0600) > I am pretty new to PHP but have used other scripting languages. I am trying > to use to mkdir() function on an apache server and keep getting this error > MkDir failed (Permission denied). I don't have physical access to the > server. > > What's up? Depends what directory you are trying to create, and if the permissions of the parent directory allows you to do, based on the user apache is running as. Usually, most people dont run apache as root, normally the "nobody" user. "nobody" tends not to be able to mkdir's unless someone has chown'd/chmod'd a parent directory accordingly. Colin. -- Colin May | "its an illusion, its a game, a reflection of mailto:rael@wibble.org.uk | someone elses name" - abacab, genesis http://www.wibble.org.uk | http://www.abacab.org.uk

« previous php.general (#43342) next »