diff --git a/manifest.json b/manifest.json index 9ab505f..55aae2e 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Blog publishing application", "fr": "Moteur de blog" }, - "version": "2.19~ynh2", + "version": "2.19~ynh3", "license": "GPL-2.0-or-later", "url": "https://dotclear.org/", "maintainer": { diff --git a/scripts/install b/scripts/install index 6b38ff1..e0c5949 100755 --- a/scripts/install +++ b/scripts/install @@ -87,6 +87,10 @@ chmod 750 "$final_path" chmod -R o-rwx "$final_path" chown -R $app:www-data "$final_path" +# https://dotclear.org/documentation/2.0/admin/install +mkdir -p "$final_path/"{cache,public} +setfacl -m d:u:www-data:rwx "$final_path/"{cache,public} + #================================================= # NGINX CONFIGURATION #================================================= diff --git a/scripts/restore b/scripts/restore index fac5f29..aa9e6a2 100755 --- a/scripts/restore +++ b/scripts/restore @@ -69,6 +69,10 @@ chmod 750 "$final_path" chmod -R o-rwx "$final_path" chown -R $app:www-data "$final_path" +# https://dotclear.org/documentation/2.0/admin/install +mkdir -p "$final_path/"{cache,public} +setfacl -m d:u:www-data:rwx "$final_path/"{cache,public} + #================================================= # RESTORE THE PHP-FPM CONFIGURATION #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index fc37c0f..689feaa 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -118,6 +118,10 @@ chmod 750 "$final_path" chmod -R o-rwx "$final_path" chown -R $app:www-data "$final_path" +# https://dotclear.org/documentation/2.0/admin/install +mkdir -p "$final_path/"{cache,public} +setfacl -m d:u:www-data:rwx "$final_path/"{cache,public} + #================================================= # NGINX CONFIGURATION #=================================================