Browse Source

removed chmod/chown for $install

Chris Vogel 1 year ago
parent
commit
60a6cb01ee
1 changed files with 2 additions and 2 deletions
  1. 2 2
      scripts/restore

+ 2 - 2
scripts/restore

@@ -43,8 +43,8 @@ systemctl status couchdb
 # RESTORE THE APP MAIN DIR
 # RESTORE THE APP MAIN DIR
 ynh_script_progression --message="Restoring the app main directory..." --weight=10
 ynh_script_progression --message="Restoring the app main directory..." --weight=10
 ynh_restore_file --origin_path="$install_dir"
 ynh_restore_file --origin_path="$install_dir"
-chmod -R 644 $install_dir
-chown -R root:$app $install_dir
+# chmod -R 644 $install_dir
+# chown -R root:$app $install_dir
 
 
 # RESTORE THE DATA DIRECTORY
 # RESTORE THE DATA DIRECTORY
 ynh_script_progression --message="Restoring the data directory..." --weight=1
 ynh_script_progression --message="Restoring the data directory..." --weight=1