User when script uploads a file?

From: Date: Tue, 07 Apr 2015 19:54:14 +0000
Subject: User when script uploads a file?
Groups: php.general 
Request: Send a blank email to php-general+get-324774@lists.php.net to get a copy of this message
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

« previous php.general (#324774) next »