Просмотр исходного кода

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

yalh76 4 лет назад
Родитель
Сommit
5c1c58b64c
3 измененных файлов с 0 добавлено и 12 удалено
  1. 0 4
      scripts/install
  2. 0 4
      scripts/restore
  3. 0 4
      scripts/upgrade

+ 0 - 4
scripts/install

@@ -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
 #=================================================

+ 0 - 4
scripts/restore

@@ -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
 #=================================================

+ 0 - 4
scripts/upgrade

@@ -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
 #=================================================