Repository navigation
Add opcache.file_cache_permissions INI setting - #22479
Open
jack-worman wants to merge 1 commit into
Open
jack-worman wants to merge 1 commit into
jack-worman wants to merge 1 commit into
Conversation
jack-worman
force-pushed
the
opcache-file-permission-setting
branch
5 times, most recently
from
June 29, 2026 01:46
ff8b0ad to
8007ecd
Compare
jack-worman
marked this pull request as ready for review
June 29, 2026 13:34
opcache.file_cache creates its files 0600 in 0700 directories, so users sharing a group cannot share or clean up each other's entries. The new setting takes an octal mode from 0600 to 0770; directories get the same mode plus search permission where the files are readable. Closes phpGH-22226
jack-worman
force-pushed
the
opcache-file-permission-setting
branch
from
November 3, 2026 19:22
8007ecd to
3085fd3
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
opcache.file_cache_permissionsso users who share a group can share and clean upopcache.file_cacheentries, which are otherwise created 0600 in 0700 directories. It takes an octal mode from 0600 to 0770; new directories get the same mode plus search permission where the files are readable, and keep an inherited setgid bit. Not available on Windows.Closes #22226