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

make sure only needed files are owned by app

This commit is contained in:
Jean-Baptiste Holcroft 2018-09-17 22:24:54 +02:00
parent 9ec4c51cac
commit 87828aa86a

View file

@ -151,6 +151,9 @@ ynh_add_systemd_config
# SECURE FILES AND DIRECTORIES
#=================================================
# Reset permissions
chown -R root:root "$final_path"
# Set permissions to app files
chown -R "$app":"$app" "$final_path/data/"
chmod -R 750 "$final_path/data/"