note 23876 deleted from features.file-upload by dams

From: Date: Sat, 03 Aug 2002 20:13:58 +0000
Subject: note 23876 deleted from features.file-upload by dams
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-34240@lists.php.net to get a copy of this message
I found that my uploaded files get ownership of the webserver (www-data on Debian), not the user that is executing the script. This is obviously NOT what I expect. The only thing that can be done is to chmod to something reasonable. Maybe there are some other options (except for chown, which requires webserver to use root privileges)?

« previous php.notes (#34240) next »