diff vendor/symfony/filesystem/LockHandler.php @ 4:a9cd425dd02b

Update, including to Drupal core 8.6.10
author Chris Cannam
date Thu, 28 Feb 2019 13:11:55 +0000
parents c75dbcec494b
children
line wrap: on
line diff
--- a/vendor/symfony/filesystem/LockHandler.php	Thu Feb 28 11:14:44 2019 +0000
+++ b/vendor/symfony/filesystem/LockHandler.php	Thu Feb 28 13:11:55 2019 +0000
@@ -83,7 +83,7 @@
 
         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);
             } elseif (!$this->handle = fopen($this->file, 'r+') ?: fopen($this->file, 'r')) {
                 usleep(100); // Give some time for chmod() to complete
                 $this->handle = fopen($this->file, 'r+') ?: fopen($this->file, 'r');