From c3f7ee21b99ae7d9cffc9c90271ef6de912db8a1 Mon Sep 17 00:00:00 2001 From: Stephane MEAUDRE Date: Mon, 25 Mar 2024 13:01:21 +0100 Subject: [PATCH] chmod on bulk directory --- api/src/Command/ImportDataFullCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/Command/ImportDataFullCommand.php b/api/src/Command/ImportDataFullCommand.php index 175c9a3..bd95677 100644 --- a/api/src/Command/ImportDataFullCommand.php +++ b/api/src/Command/ImportDataFullCommand.php @@ -63,7 +63,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int $outputDirName = dirname($outputFilename); if (!file_exists($outputDirName)) { - if (!mkdir($concurrentDirectory = dirname($outputFilename), '0755') && !is_dir($concurrentDirectory)) { + if (!mkdir($concurrentDirectory = dirname($outputFilename), 0775) && !is_dir($concurrentDirectory)) { throw new \RuntimeException(sprintf('Directory "%s" was not created', $concurrentDirectory)); } }