Re: about file permissions + cuteftp

From: Date: Mon, 24 Jun 2002 03:10:22 +0000
Subject: Re: about file permissions + cuteftp
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-103523@lists.php.net to get a copy of this message
Because when you use php to make a file/directory, the webserver makes the owner the webserver (usually "nobody"). Unless you log in as "nobody" (or whatever respective name), you will not be able to modify the permissions or delete the file/dir. However, when logging in and making a file with 777 permissions, php and the webserver should be able to modify the file... --- Adrian Murphy <adrian.murphy@2020tourism.com> wrote: > hi, > how come when i make a dir thus > > mkdir($basedir,0777); > > cute can't then chmod or delete said dir. > also vice versa : when i create a dir with cute > with 777 access php can't do anything with it. > it's very annoying. > __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com

« previous php.general (#103523) next »