From: antonprk at mail dot ru Operating system: Linux PHP version: 4.4.8 PHP Bug Type: Session related Bug description: session_start() - failed: Permission denied (13)
Description: ------------ In PHP 4.4.4, 4.4.7, 4.4.8, on a server more than 200 users at which periodically arise the specified error. In php.ini add an option the name of a file of session. 2008-01-31 05:33:36 Warning(2): Unknown(): open(/tmp/sess_842bfb761b488cb7c0df711a162f6b56, O_RDWR) failed: Permission denied (13) in /home/USER_ONE/lib/session.inc (/eng.php) on line 24 [EMAIL PROTECTED] [/tmp]# ls -l --full-time sess_842bfb761b488cb7c0df711a162f6b56 -rw------- 1 USER_TWO USER_TWO 46 2008-01-31 05:33:26.000000000 +0300 sess_842bfb761b488cb7c0df711a162f6b56 Two different users try to use one file of session. Reproduce code: --------------- USER_ONE <?php session_start(); ?> USER_TWO <?php session_start(); ?> Expected result: ---------------- Creation of not existing file of session was expected. Actual result: -------------- Attempt of creation of already existing file of session. -- Edit bug report at http://bugs.php.net/?id=43990&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=43990&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=43990&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=43990&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=43990&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=43990&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=43990&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=43990&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=43990&r=needscript Try newer version: http://bugs.php.net/fix.php?id=43990&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=43990&r=support Expected behavior: http://bugs.php.net/fix.php?id=43990&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=43990&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=43990&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=43990&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=43990&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=43990&r=dst IIS Stability: http://bugs.php.net/fix.php?id=43990&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=43990&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=43990&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=43990&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=43990&r=mysqlcfg
