#43990 [Opn->]: session_start() - failed: Permission denied (13)

From: Date: Mon, 17 Mar 2008 00:48:19 +0000
Subject: #43990 [Opn->]: session_start() - failed: Permission denied (13)
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-123365@lists.php.net to get a copy of this message
ID: 43990 Updated by: jani@php.net Reported By: antonprk at mail dot ru -Status: Open +Status: Wont Fix Bug Type: Session related Operating System: Linux PHP Version: 4.4.8 New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [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

« previous php.bugs (#123365) next »