From 7244fffdc700afb9b2a14afb976bb5509ed01c17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment?= Date: Mon, 8 Jun 2020 13:13:07 +0200 Subject: [PATCH] fix data dir creation --- scripts/install | 2 +- scripts/restore | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 19d5cf8..0735709 100755 --- a/scripts/install +++ b/scripts/install @@ -138,7 +138,7 @@ ynh_store_file_checksum "$final_path/config.yml" # Set permissions to app files chown -R root:$app $final_path -mkdir $final_path/data +mkdir -p $final_path/data chown -R $app: $final_path/data/ chmod o-rwx $final_path/ -R diff --git a/scripts/restore b/scripts/restore index 0f8e3c0..2c0ed46 100755 --- a/scripts/restore +++ b/scripts/restore @@ -77,7 +77,7 @@ ynh_system_user_create $app # Restore permissions on app files chown -R root:$app $final_path -mkdir $final_path/data +mkdir -p $final_path/data chown -R $app: $final_path/data/ chmod o-rwx $final_path/ -R