Skip to content

Commit 8dab220

Browse files
Merge branch '2.8' into 3.4
* 2.8: [Filesystem] fix lock file mode [Console] fix typo in phpdoc
2 parents 35b2345 + 5cfc856 commit 8dab220

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

LockHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ public function lock($blocking = false)
8383

8484
if (!$this->handle = fopen($this->file, 'r+') ?: fopen($this->file, 'r')) {
8585
if ($this->handle = fopen($this->file, 'x')) {
86-
chmod($this->file, 0644);
86+
chmod($this->file, 0666);
8787
} elseif (!$this->handle = fopen($this->file, 'r+') ?: fopen($this->file, 'r')) {
8888
usleep(100); // Give some time for chmod() to complete
8989
$this->handle = fopen($this->file, 'r+') ?: fopen($this->file, 'r');

0 commit comments

Comments
 (0)