From 5bf5be07ae75ad8fdf614a54ae761722dc0ba322 Mon Sep 17 00:00:00 2001 From: Sebastian Meyer Date: Sun, 26 Jan 2025 19:09:38 +0100 Subject: [PATCH] Unset umask before creating data directory --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 997df8e..6e6b06b 100644 --- a/composer.json +++ b/composer.json @@ -64,7 +64,7 @@ }, "scripts": { "pre-install-cmd": [ - "@php -r \"if (!is_dir('./data')) { mkdir('./data', 0775); }\"", + "@php -r \"if (!is_dir('./data')) { umask(0); mkdir('./data', 0775); }\"", "@php -r \"if (!file_exists('./config/config.yml')) { copy('./config/config.dist.yml', './config/config.yml'); }\"" ], "post-install-cmd": [