ID: 31323
Updated by: mike@php.net
Reported By: julien dot mathieu at gmail dot com
-Status: Open
+Status: No Feedback
Bug Type: Session related
Operating System: Linux
PHP Version: 5.1.2, 4.3.9
New Comment:
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
Previous Comments:
------------------------------------------------------------------------
[2006-03-21 19:02:31] jd at godaddy dot com
I should note that after we cleaned all of the sess_* files in /tmp,
the problem seems to have gone away (at least for the moment). Why are
future PHP session file permissions being corrupted by preexisting
session files? Is there possibly a buffer overflow possible in the
session files, where perhaps a corrupted session file can clobber these
pages?
------------------------------------------------------------------------
[2006-03-21 17:35:39] jd at godaddy dot com
We're seeing this with PHP 4.4.1 and Zend Platform v2.1.0 when using
phpMyAdmin.
Check out these permissions
-rwxr-xr-x 1 nobody nobody 15187 Mar 16 12:06
sess_0834d5863159f74b560ee4c64fab1eb5
-rwxrwxrwx 1 nobody nobody 0 Mar 21 09:29
sess_243458755660a3b6be9cd416c67bb7e7
-rwxrwxrwx 1 nobody nobody 15186 Mar 15 12:20
sess_435fad9a208051008e0efa69bd1d6fc7
-rwxrwxrwx 1 root root 0 Mar 21 09:25
sess_47957086e32d77933e6fd8a1dc63e1f7
-rwx--x--T 1 nobody nobody 15187 Mar 15 12:54
sess_7b9a5a1840f81a13e86c0ae8ced7ff7a
-rwx--x--T 1 nobody nobody 15187 Mar 15 12:44
sess_9bedbfafd824c4a3495e7e36070daaca
-rwxr-xr-x 1 nobody nobody 15191 Mar 13 16:55
sess_b01db0867b79aa251c20356e519cac8b
-rwx--x--T 1 nobody nobody 15187 Mar 15 15:06
sess_ec5699d9df2be07f8c06c4676230c3de
-rwx--x--T 1 nobody nobody 15191 Mar 15 11:47
sess_fb0e71df00e24b1b6d22b771fb4c7281
------------------------------------------------------------------------
[2006-02-07 11:15:11] julien dot mathieu at gmail dot com
I work now with the 5.1.2 version. The problem still occurs.
------------------------------------------------------------------------
[2004-12-29 18:28:06] sniper@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
------------------------------------------------------------------------
[2004-12-28 17:21:17] julien dot mathieu at gmail dot com
Description:
------------
session files created by session_start always exist but randomly have
different permission (rw or r).
directory has full permissions
Sometimes files have r+w -> ok
Sometimes only r -> session_start():
open(/tmp/sess_a3a79ce3bd2df9289a325a206c1dfc84, O_RDWR) failed:
Permission denied (13) in ...
Its nearly a random problem but happens 25% of time
Reproduce code:
---------------
<?php session_start()
...
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=31323&edit=1