Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Filesystem] fix lock file permissions#27904

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

fritzmg
Copy link
Contributor

QA
Branch?2.8
Bug fix?yes
New feature?no
BC breaks?see linked discussion
Deprecations?no
Tests pass?yes
Fixed tickets-
LicenseMIT
Doc PR-

See#27903

@fritzmgfritzmg changed the titlefix lock file permissions[Filesystem] fix lock file permissionsJul 9, 2018
@nicolas-grekasnicolas-grekas added this to the2.8 milestoneJul 9, 2018
@@ -77,7 +77,7 @@ public function lock($blocking = false)

if (!$this->handle = fopen($this->file, 'r+') ?: fopen($this->file, 'r')) {
if ($this->handle = fopen($this->file, 'x')) {
chmod($this->file,0444);
chmod($this->file,0666);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

btw, what about 644 here?

@nicolas-grekasnicolas-grekasforce-pushed thefix-lock-file-permissions branch frome3f1db7 to7a68feaCompareJuly 9, 2018 12:47
@nicolas-grekas
Copy link
Member

Thank you@fritzmg.

@nicolas-grekasnicolas-grekas merged commit7a68fea intosymfony:2.8Jul 9, 2018
nicolas-grekas added a commit that referenced this pull requestJul 9, 2018
This PR was squashed before being merged into the 2.8 branch (closes#27904).Discussion----------[Filesystem] fix lock file permissions| Q             | A| ------------- | ---| Branch?       | 2.8| Bug fix?      | yes| New feature?  | no| BC breaks?    | see linked discussion| Deprecations? | no| Tests pass?   | yes| Fixed tickets | -| License       | MIT| Doc PR        | -See#27903Commits-------7a68fea [Filesystem] fix lock file permissions
@fritzmgfritzmg deleted the fix-lock-file-permissions branchJuly 9, 2018 12:49
This was referencedJul 23, 2018
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@nicolas-grekasnicolas-grekasnicolas-grekas left review comments

@xabbuhxabbuhxabbuh approved these changes

Assignees
No one assigned
Projects
None yet
Milestone
2.8
Development

Successfully merging this pull request may close these issues.

4 participants
@fritzmg@nicolas-grekas@xabbuh@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp