note 23876 added to features.file-upload

From: Date: Tue, 30 Jul 2002 19:28:53 +0000
Subject: note 23876 added to features.file-upload
Groups: php.notes 
Request: Send a blank email to php-notes+get-34013@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)? -- http://www.php.net/manual/en/features.file-upload.php http://master.php.net/manage/user-notes.php?action=edit+23876 http://master.php.net/manage/user-notes.php?action=delete+23876 http://master.php.net/manage/user-notes.php?action=reject+23876

« previous php.notes (#34013) next »