diff --git a/README.md b/README.md index 2a39ee3..b8140e5 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in Sitemagic is a Content Management System. It's very unique in its approach to design. Sitemagic CMS is a comprehensive Content Management System that allows anyone to easily manage pages, files, menu, forms, and external modules such as maps, social media plugins, videos, and more. But there's also a ton of hidden features that helps you save time such as automatic mobile and search engine optimizations (SEO). -**Shipped version:** 4.4.2~ynh2 +**Shipped version:** 4.4.2~ynh3 diff --git a/README_fr.md b/README_fr.md index b74e7dd..eadf7f0 100644 --- a/README_fr.md +++ b/README_fr.md @@ -13,7 +13,7 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour Sitemagic is a Content Management System. It's very unique in its approach to design. Sitemagic CMS is a comprehensive Content Management System that allows anyone to easily manage pages, files, menu, forms, and external modules such as maps, social media plugins, videos, and more. But there's also a ton of hidden features that helps you save time such as automatic mobile and search engine optimizations (SEO). -**Version incluse :** 4.4.2~ynh2 +**Version incluse :** 4.4.2~ynh3 diff --git a/manifest.json b/manifest.json index 22bb0a9..d7ea623 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Content Management System", "fr": "Système de gestion de contenu" }, - "version": "4.4.2~ynh2", + "version": "4.4.2~ynh3", "url": "https://sitemagic.org/", "upstream": { "license": "FSFULLR", diff --git a/scripts/install b/scripts/install index fdabfeb..71d3b18 100755 --- a/scripts/install +++ b/scripts/install @@ -104,7 +104,7 @@ ynh_script_progression --message="Adding a configuration file..." --weight=1 ynh_add_config --template="../conf/config.xml.php" --destination="$final_path/config.xml.php" -chmod 400 "$final_path/config.xml.php" +chmod 660 "$final_path/config.xml.php" chown $app:$app "$final_path/config.xml.php" #================================================= diff --git a/scripts/restore b/scripts/restore index be19705..119c23e 100755 --- a/scripts/restore +++ b/scripts/restore @@ -66,6 +66,9 @@ chmod 750 "$final_path" chmod -R o-rwx "$final_path" chown -R $app:www-data "$final_path" +chmod 660 "$final_path/config.xml.php" +chown $app:$app "$final_path/config.xml.php" + #================================================= # RESTORE THE PHP-FPM CONFIGURATION #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 92aa0f9..2091e29 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -86,6 +86,9 @@ chmod 750 "$final_path" chmod -R o-rwx "$final_path" chown -R $app:www-data "$final_path" +chmod 660 "$final_path/config.xml.php" +chown $app:$app "$final_path/config.xml.php" + #================================================= # NGINX CONFIGURATION #=================================================