Skip to content

*[Sessions]: Now session is accessible if process is ran by root.#1362

Closed
EvgeniySpinov wants to merge 1 commit intophp:PHP-5.5.27from
EvgeniySpinov:PHP-5.5.27
Closed

*[Sessions]: Now session is accessible if process is ran by root.#1362
EvgeniySpinov wants to merge 1 commit intophp:PHP-5.5.27from
EvgeniySpinov:PHP-5.5.27

Conversation

@EvgeniySpinov
Copy link
Contributor

Fixing bug: https://bugs.php.net/bug.php?id=69582

Use case: session is initiated by Apache with non-root permissions. Later on, session could be accessed by backend process, which runs under root, but needs to communicate with same session data as Apache process.

Didn't work before this commit: session file is owned by non-root, process owner != file owner, so this triggered file handle closure.

@laruence
Copy link
Member

5.5.27 branch is a release branch, you only needs make a PR against 5.5 branch... thanks

@laruence laruence closed this Jun 24, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants