note 81276 deleted from function.move-uploaded-file by danbrown

From: Date: Mon, 20 Jun 2011 15:20:52 +0000
Subject: note 81276 deleted from function.move-uploaded-file by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-180742@lists.php.net to get a copy of this message
Note Submitter: Jelmer Jellema ---- In response to tnp at shaman dot co dot uk This is probably not a bug, nore proof of any meta filesystem running. My guess would be the uploaded file would have its file access set to 0600 (u=rw,go=), so it could not be read by the mysql server (running under a differt uid as your script). Copy probably applies the normal umask to the file, with as a result permissions something like 0644: readable for anyone and the mysql server.

« previous php.notes (#180742) next »