#37044 [Opn->Fbk]: MKDIR fails if GID differs

From: Date: Thu, 13 Apr 2006 11:07:36 +0000
Subject: #37044 [Opn->Fbk]: MKDIR fails if GID differs
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-95740@lists.php.net to get a copy of this message
ID: 37044 Updated by: derick@php.net Reported By: dim at dvisionfactory dot com -Status: Open +Status: Feedback Bug Type: Directory function related Operating System: FreeBSD PHP Version: 4.4.2 New Comment: You don't have to install it to try it... Previous Comments: ------------------------------------------------------------------------ [2006-04-13 06:22:42] dim at dvisionfactory dot com It is a production server! I cannot just "switch" to PHP5! Any other suggestions? ------------------------------------------------------------------------ [2006-04-12 14:44:48] sniper@php.net Please try using this CVS snapshot: http://snaps.php.net/php5.1-latest.tar.gz For Windows: http://snaps.php.net/win32/php5.1-win32-latest.zip ------------------------------------------------------------------------ [2006-04-12 08:26:22] tony2001@php.net Works perfectly fine here. ------------------------------------------------------------------------ [2006-04-12 08:00:36] dim at dvisionfactory dot com I've added "clearstatcache()" after "chgrp(..)"! Now "filegroup()" produces the right output, but it hasn't solved my problem. Output of the script: SUCCESS, 16888, 80, 80 FAIL, 16888, 80, 1005 SUCCESS, 16888, 80, 80 SUCCESS, 1688, 80, 80 ------------------------------------------------------------------------ [2006-04-11 18:39:42] tony2001@php.net What if you call clearstatcache() between chgrp() and filegroup() calls ? ------------------------------------------------------------------------ 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/37044 -- Edit this bug report at http://bugs.php.net/?id=37044&edit=1

« previous php.bugs (#95740) next »