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 8a721a5 + c663efd commit 35b2345Copy full SHA for 35b2345
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, 0444);
+ chmod($this->file, 0644);
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