Weird behaviour with move_uploaded_file on CGI version of PHP.

From: Date: Wed, 23 May 2007 20:36:26 +0000
Subject: Weird behaviour with move_uploaded_file on CGI version of PHP.
Groups: php.general 
Request: Send a blank email to php-general+get-255463@lists.php.net to get a copy of this message
Platform : FreeBSD 6.2 Release with Apache 2.0.59 running PHP 5.2.1_3 CGI under SuExec in FastCGI mode. Issue: move_uploaded_file ALWAYS crfeates uploaded files with Unix permissions 600 (read and write for user only) regardless of ownership, directory or umask settings. This works fine with php installed as a module. Anyone else noticed this? Anything I'm doing wrong? Cheers, Brett.

« previous php.general (#255463) next »