X-Git-Url: https://git.rapsys.eu/veranda/blobdiff_plain/e632f4b95ed99364aaccc5faa302a70215ec1909..b27dfa186404371aa561549579a8f9a931a15983:/patch/worldwritabledisabled.patch diff --git a/patch/worldwritabledisabled.patch b/patch/worldwritabledisabled.patch new file mode 100644 index 0000000..2b31734 --- /dev/null +++ b/patch/worldwritabledisabled.patch @@ -0,0 +1,24 @@ +diff -urNp vendor/symfony/runtime/GenericRuntime.php.orig vendor/symfony/runtime/GenericRuntime.php +--- vendor/symfony/runtime/GenericRuntime.php.orig 2024-02-28 08:17:06.517219812 +0100 ++++ vendor/symfony/runtime/GenericRuntime.php 2024-02-28 08:17:10.497255989 +0100 +@@ -69,7 +69,7 @@ class GenericRuntime implements RuntimeI + } + + if ($debug) { +- umask(0000); ++ umask(0022); + $_SERVER[$debugKey] = $_ENV[$debugKey] = '1'; + + if (false !== $errorHandler = ($options['error_handler'] ?? BasicErrorHandler::class)) { +diff -urNp vendor/symfony/filesystem/Filesystem.php.orig vendor/symfony/filesystem/Filesystem.php +--- vendor/symfony/filesystem/Filesystem.php.orig 2024-02-28 08:17:21.597356872 +0100 ++++ vendor/symfony/filesystem/Filesystem.php 2024-02-28 08:17:34.497474117 +0100 +@@ -205,7 +205,7 @@ class Filesystem + * + * @throws IOException When the change fails + */ +- public function chmod(string|iterable $files, int $mode, int $umask = 0000, bool $recursive = false): void ++ public function chmod(string|iterable $files, int $mode, int $umask = 0022, bool $recursive = false): void + { + foreach ($this->toIterable($files) as $file) { + if (!self::box('chmod', $file, $mode & ~$umask)) {