1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/zabbix_ynh.git synced 2024-09-03 20:36:14 +02:00

FIx chmod: cannot operate on dangling symlink '/var/www/zabbix'

This commit is contained in:
yalh76 2021-08-17 09:25:23 +02:00
parent 6e233aca1e
commit 5c1c58b64c
3 changed files with 0 additions and 12 deletions

View file

@ -99,10 +99,6 @@ ynh_app_setting_set --app=$app --key=final_path --value=$final_path
# Download, check integrity, uncompress and patch the source from app.src
ln -s /usr/share/zabbix "$final_path"
chmod 750 "$final_path"
chmod -R o-rwx "$final_path"
chown -R $app:www-data "$final_path"
#=================================================
# NGINX CONFIGURATION
#=================================================

View file

@ -53,10 +53,6 @@ ynh_script_progression --message="Restoring the app main directory..."
ln -s /usr/share/zabbix "$final_path"
chmod 750 "$final_path"
chmod -R o-rwx "$final_path"
chown -R $app:www-data "$final_path"
#=================================================
# RESTORE THE PHP-FPM CONFIGURATION
#=================================================

View file

@ -87,10 +87,6 @@ then
ln -s /usr/share/zabbix "$final_path"
fi
chmod 750 "$final_path"
chmod -R o-rwx "$final_path"
chown -R $app:www-data "$final_path"
#=================================================
# NGINX CONFIGURATION
#=================================================