Explorar o código

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

yalh76 %!s(int64=4) %!d(string=hai) anos
pai
achega
5c1c58b64c
Modificáronse 3 ficheiros con 0 adicións e 12 borrados
  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
 # Download, check integrity, uncompress and patch the source from app.src
 ln -s /usr/share/zabbix "$final_path"
 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
 # 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"
 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
 # RESTORE THE PHP-FPM CONFIGURATION
 #=================================================
 #=================================================

+ 0 - 4
scripts/upgrade

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