RE: [PHP-GENERAL] mkdir function and permissions HELP!

From: Date: Thu, 15 Jun 2000 18:11:18 +0000
Subject: RE: [PHP-GENERAL] mkdir function and permissions HELP!
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-1978@lists.php.net to get a copy of this message
Correct. If you have permissions to create the directory. Jason > -----Original Message----- > From: Chris Hughes [mailto:Chris@ecomshare.com] > Sent: Thursday, June 15, 2000 12:03 PM > To: jasonc@webpipe.net > Subject: RE: [PHP-GENERAL] mkdir function and permissions HELP! > > > So if I set the mode at 0755 I should be able to create a > directory and then > write to it? > > -----Original Message----- > From: Jason [mailto:jasonc@webpipe.net] > Sent: Thursday, June 15, 2000 11:53 AM > To: Chris Hughes; php-general@lists.php.net > Subject: RE: [PHP-GENERAL] mkdir function and permissions HELP! > > > I'm not sure if this question has already been answered. If so please > disregard. The default for Unix/Linux for directories is 0755. I believe > if you leave the mode out of the function it will default to this as well. > You will want to remember that php runs as the apache user if > it's run as a > module. So in most cases this is user 'nobody'. The user must have > permissions to create a directory or it won't work. > > Jason > > > -----Original Message----- > > From: Chris Hughes [mailto:chris@ecomshare.com] > > Sent: Thursday, June 15, 2000 11:20 AM > > To: php-general@lists.php.net > > Subject: [PHP-GENERAL] mkdir function and permissions HELP! > > > > > > Hi, > > I'm trying to use the mkdir function in php to create a simple > > directory > > on the server (we are running linux/apache) and I keep having a > > permissions > > problem. I don't understand what I should put in as the "mode" for the > > second argument for the mkdir function. Please someone help > me...this is > > driving me insane. > > Thanks in Advance > > Chris > > > > > > > > > > -- > > 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 > > > > > > > _______________________________________________________ > Site Design, Hosting, and E-Commerce at www.webpipe.net > > _______________________________________________________ Site Design, Hosting, and E-Commerce at www.webpipe.net

« previous php.general (#1978) next »