1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/ghost_ynh.git synced 2024-09-03 19:16:02 +02:00

Enforce file ownership in upgrade

This commit is contained in:
tituspijean 2021-10-25 18:06:50 +02:00
parent 9eb7dd6470
commit afe60a0227
No known key found for this signature in database
GPG key ID: EF3B0D7CC0A94720

View file

@ -117,6 +117,10 @@ then
ynh_secure_remove --file="$tmpdir"
fi
chmod 750 "$final_path"
chmod -R o-rwx "$final_path"
chown -R $app:www-data "$final_path"
#=================================================
# NGINX CONFIGURATION
#=================================================