Comment 3 for bug 294148

Revision history for this message
Nicolas (nicolasfr) wrote :

Hi,

I am experiencing the same problem since I upgraded my server (I only upgraded a couple of week ago, the system is on production for about 6 months).

My server is running Ubuntu 8.04. The version of PHP5 I am using is:

root@hosting:~# php-cgi -v
PHP 5.2.4-2ubuntu5.5 with Suhosin-Patch 0.9.6.2 (cgi-fcgi) (built: Feb 11 2009 20:02:50)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies

Problem is: files uploaded through a PHP upload form and then moved with move_uploaded_file are given a umask of 0002 insted of 0022.