diff --git a/manifest.toml b/manifest.toml index 5d10fa7..cea825d 100644 --- a/manifest.toml +++ b/manifest.toml @@ -5,7 +5,7 @@ id = "globinours" name = "Globinours" description.en = "Lightweight animal shelter management" description.fr = "Gestion légère et complète pour refuges animaliers" -version = "1.0.0-rc.3~ynh6" +version = "1.0.0-rc.3~ynh7" maintainers = ["OverSu"] [upstream] diff --git a/scripts/_common.sh b/scripts/_common.sh index 0347a54..231b843 100755 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -24,4 +24,6 @@ prepare_persistent_paths() { chown -R "$app:$app" "$data_dir" chmod -R u=rwX,g=rX,o= "$install_dir" chmod -R u=rwX,g=,o= "$data_dir" + chown -R "$app:www-data" "$data_dir/media" + chmod -R u=rwX,g=rX,o= "$data_dir/media" }