Bug #71714 [Com]: Permission in session.save_path not working corretly

From: Date: Mon, 07 Mar 2016 07:30:35 +0000
Subject: Bug #71714 [Com]: Permission in session.save_path not working corretly
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-199636@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=71714&edit=1 ID: 71714 Comment by: lampacz at gmail dot com Reported by: lampacz at gmail dot com Summary: Permission in session.save_path not working corretly Status: Not a bug Type: Bug Package: Session related Operating System: Debian jessie PHP Version: 5.6.19 Block user comment: N Private report: N New Comment: Ohh, sorry my fault. It's not a bug ;) Previous Comments: ------------------------------------------------------------------------ [2016-03-05 07:33:37] requinix@php.net It *is* affected by the umask. Perhaps you're misunderstanding the > Setting MODE does not affect the process umask. comment: setting the mode will not affect (change) the umask for the process. That is the opposite of saying that the umask for the process will not affect (influence) the mode. ------------------------------------------------------------------------ [2016-03-05 06:43:33] lampacz at gmail dot com Description: ------------ Setting php_value session.save_path "0;0660;/var/lib/php5/sessions" or php_value session.save_path "0;660;/var/lib/php5/sessions" doesn't set write for group From http://en.php.net/manual/en/session.configuration.php#ini.session.save-path is possible to set different mode. And should not be affected by umask. Expected result: ---------------- file session permission (0660/-rw-rw----) Actual result: -------------- (0600/-rw-------) ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=71714&edit=1

« previous php.bugs (#199636) next »