php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #30245 UNIX Permission problem with any session opened
Submitted: 2004-09-26 21:18 UTC Modified: 2004-09-27 20:25 UTC
From: nagol at erratum dot net Assigned:
Status: Not a bug Package: Session related
PHP Version: 5.0.1 OS: freebsd
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: nagol at erratum dot net
New email:
PHP Version: OS:

 

 [2004-09-26 21:18 UTC] 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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-09-27 09:05 UTC] derick@php.net
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).
 [2004-09-27 19:46 UTC] nagol at erratum dot net
That's it. Thanx a lot and sorry for bug reporting something's not a bug :)
 [2004-09-27 20:25 UTC] derick@php.net
Not a bug, so the status should be bogus.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat May 18 00:01:33 2024 UTC