--- /dev/null
+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)) {