We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 35b2345 + 5cfc856 commit 8dab220Copy full SHA for 8dab220
LockHandler.php
@@ -83,7 +83,7 @@ public function lock($blocking = false)
83
84
if (!$this->handle = fopen($this->file, 'r+') ?: fopen($this->file, 'r')) {
85
if ($this->handle = fopen($this->file, 'x')) {
86
- chmod($this->file, 0644);
+ chmod($this->file, 0666);
87
} elseif (!$this->handle = fopen($this->file, 'r+') ?: fopen($this->file, 'r')) {
88
usleep(100); // Give some time for chmod() to complete
89
$this->handle = fopen($this->file, 'r+') ?: fopen($this->file, 'r');
0 commit comments