Thanks to visit codestin.com Credit goes to github.com
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.
1 parent debdc8e commit e3f1db7Copy full SHA for e3f1db7
src/Symfony/Component/Filesystem/LockHandler.php
@@ -77,7 +77,7 @@ public function lock($blocking = false)
77
78
if (!$this->handle = fopen($this->file, 'r+') ?: fopen($this->file, 'r')) {
79
if ($this->handle = fopen($this->file, 'x')) {
80
- chmod($this->file, 0666);
+ chmod($this->file, 0644);
81
} elseif (!$this->handle = fopen($this->file, 'r+') ?: fopen($this->file, 'r')) {
82
usleep(100); // Give some time for chmod() to complete
83
$this->handle = fopen($this->file, 'r+') ?: fopen($this->file, 'r');
0 commit comments