#43990 [Opn->Fbk]: session_start() - failed: Permission denied (13)
ID: 43990
Updated by: jani@php.net
Reported By: antonprk at mail dot ru
-Status: Open
+Status: Feedback
Bug Type: Session related
Operating System: Linux
PHP Version: 5.2.5
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php5.2-latest.tar.gz
For Windows (zip):
http://snaps.php.net/win32/php5.2-win32-latest.zip
For Windows (installer):
http://snaps.php.net/win32/php5.2-win32-installer-latest.msi
Previous Comments:
------------------------------------------------------------------------
[2008-03-17 04:06:24] antonprk at mail dot ru
The problem is present at version PHP 5.2.4, 5.2.5
------------------------------------------------------------------------
[2008-03-17 00:48:18] jani@php.net
We are sorry, but we can not support PHP 4 related problems anymore.
Momentum is gathering for PHP 6, and we think supporting PHP 4 will
lead to a waste of resources which we want to put into getting PHP 6
ready.
------------------------------------------------------------------------
[2008-01-31 04:30:50] antonprk at mail dot ru
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
root@server [/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 this bug report at http://bugs.php.net/?id=43990&edit=1
Thread (5 messages)