1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/strut_ynh.git synced 2024-09-03 20:26:33 +02:00

Fix permissions

This commit is contained in:
Alexandre Aubin 2023-12-04 22:27:23 +01:00
parent 4b4937e6d6
commit 9f41dd7431

View file

@ -22,7 +22,10 @@ ynh_setup_source --dest_dir="$tmp_dir"
cp -a "$tmp_dir/dist/." "$install_dir/"
ynh_secure_remove --file="$tmp_dir"
# Set permissions on app files
chown -R $app:www-data "$install_dir"
chmod -R 640 "$install_dir"
find "$install_dir" -type d -print0 | xargs -0 chmod 750
#=================================================
# NGINX CONFIGURATION