#30245 [Fbk->Csd]: UNIX Permission problem with any session opened

From: Date: Mon, 27 Sep 2004 17:46:51 +0000
Subject: #30245 [Fbk->Csd]: UNIX Permission problem with any session opened
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-66769@lists.php.net to get a copy of this message
ID: 30245 User updated by: nagol at erratum dot net Reported By: nagol at erratum dot net -Status: Feedback +Status: Closed Bug Type: Session related Operating System: freebsd PHP Version: 5.0.1 New Comment: That's it. Thanx a lot and sorry for bug reporting something's not a bug :) Previous Comments: ------------------------------------------------------------------------ [2004-09-27 09:05:31] 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-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

« previous php.bugs (#66769) next »