Re: User when script uploads a file?

From: Date: Tue, 07 Apr 2015 20:01:10 +0000
Subject: Re: User when script uploads a file?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-324775@lists.php.net to get a copy of this message
It should be in the configs of apache a wild guess is _www or www Sent from my iPhone On 7 apr. 2015, at 22:54, Jeffry Killen <jekillen@prodigy.net> wrote: > Hi again; > > I have a CMS that I use locally for dev purposes. > > It has a facility for creating a sub directory with the name pattern: lab_# > > Within each lab_# are directories like lab_#/css, lab_#/js, lab_#/php, > So I want to upload a file into dev_labs/lab_8/php and the php dir > has permissions set to 0755 ( web server user is the owner because > a php script created the dir and sub dirs). > > Uploading to the target dir fails with the error write permission denied. > > So when a file is uploaded via a php script who is the user? (in Apache on MacOSX, or any > version of a unix system) > > Thanks in advance for info > JK > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.general (#324775) next »