Fix chown

This commit is contained in:
yalh76 2019-02-01 08:55:16 +01:00
parent dee0e2c799
commit f154ae8945
3 changed files with 5 additions and 5 deletions

View File

@ -172,7 +172,7 @@ ynh_system_user_create "$app" "$final_path"
# ... # ...
#================================================= #=================================================
chown -R $app: $final_path chown -R "$app":"$app" "$final_path"
pushd $final_path pushd $final_path
ynh_use_nodejs ynh_use_nodejs
@ -270,7 +270,7 @@ ynh_store_file_checksum "$final_path/config.yml"
### that really need such authorization. ### that really need such authorization.
# Set permissions to app files # Set permissions to app files
chown -R $app: $final_path chown -R "$app":"$app" "$final_path"
#================================================= #=================================================
# SETUP LOGROTATE # SETUP LOGROTATE

View File

@ -76,7 +76,7 @@ ynh_system_user_create "$app" "$final_path"
#================================================= #=================================================
# Restore permissions on app files # Restore permissions on app files
chown -R $app: $final_path chown -R "$app":"$app" "$final_path"
#================================================= #=================================================
# RESTORE THE PHP-FPM CONFIGURATION # RESTORE THE PHP-FPM CONFIGURATION

View File

@ -113,7 +113,7 @@ ynh_system_user_create "$app" "$final_path"
# ... # ...
#================================================= #=================================================
chown -R $app: $final_path chown -R "$app":"$app" "$final_path"
pushd $final_path pushd $final_path
ynh_use_nodejs ynh_use_nodejs
@ -154,7 +154,7 @@ ynh_add_systemd_config
#================================================= #=================================================
# Set permissions on app files # Set permissions on app files
chown -R $app: $final_path chown -R "$app":"$app" "$final_path"
#================================================= #=================================================
# SETUP SSOWAT # SETUP SSOWAT