#32920 [Fbk->Opn]: File creation permissions broken

From: Date: Fri, 06 May 2005 13:17:28 +0000
Subject: #32920 [Fbk->Opn]: File creation permissions broken
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-78707@lists.php.net to get a copy of this message
ID: 32920 User updated by: ben at skiddle dot com Reported By: ben at skiddle dot com -Status: Feedback +Status: Open Bug Type: Filesystem function related Operating System: FreeBSD 5.3 PHP Version: 4.3.11 New Comment: This only occurs when using php as a cgi-module with SuExec Previous Comments: ------------------------------------------------------------------------ [2005-05-06 14:58:39] tony2001@php.net Can't reproduce with Apache1 & Apache2 and mod_php/CGI/FastCGI. ------------------------------------------------------------------------ [2005-05-06 13:51:32] ben at skiddle dot com <? echo umask(); ?> On my setup, refresh this page and the result will toggle between 18 and 63. (http://skiddle.com/test.php) ------------------------------------------------------------------------ [2005-05-06 13:39:28] tony2001@php.net Any info on how to reproduce it? ------------------------------------------------------------------------ [2005-05-06 12:34:19] ben at skiddle dot com any luck yet? ------------------------------------------------------------------------ [2005-05-03 02:20:19] ben at skiddle dot com Having run 'echo umask();' again (just refreshing the page) the umask is now 63, and this randomly changes from 18 to 63 and back again when i refresh ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/32920 -- Edit this bug report at http://bugs.php.net/?id=32920&edit=1

« previous php.bugs (#78707) next »