#30245 [Opn]: UNIX Permission problem with any session opened
| From: | derick@php.net | Date: | Mon, 27 Sep 2004 07:05:34 +0000 |
| Subject: | #30245 [Opn]: UNIX Permission problem with any session opened | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-66741@lists.php.net to get a copy of this message | ||
ID: 30245
Updated by: derick@php.net
Reported By: nagol at erratum dot net
Status: Open
Bug Type: Session related
Operating System: freebsd
PHP Version: 5.0.1
New Comment:
I think this has to do with a wrong umask setting. Please make a PHP
script in which session_start() generates a broken file and add "echo
umask()"; in that script and tell me what it outputs.
needless to say, this works fine here for me (and others I'd say).
Previous Comments:
------------------------------------------------------------------------
[2004-09-26 21:18:50] nagol at erratum dot net
Description:
------------
Any session_start() produces a session file with 400 permission
(read-only) resulting in an error the next session_start():
This is a major bug...
I tested changing the session.save_path and chmoding again and again
files and directories with no success. This bug appeared just after a
php update (i mean sessions worked before)
Reproduce code:
---------------
session_start();
Expected result:
----------------
no error
Actual result:
--------------
errors
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=30245&edit=1