1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/distbin_ynh.git synced 2024-09-03 18:26:10 +02:00

Fix chown

This commit is contained in:
yalh76 2019-02-01 08:54:19 +01:00
parent d5da4924cb
commit 8fa0da9e39
3 changed files with 3 additions and 3 deletions

View file

@ -173,7 +173,7 @@ ynh_system_user_create "$app" "$final_path"
mkdir -p /var/log/$app mkdir -p /var/log/$app
chown -R $app:$app /var/log/$app chown -R $app:$app /var/log/$app
chown -R $app: $final_path chown -R "$app":"$app" "$final_path"
pushd $final_path pushd $final_path
ynh_use_nodejs ynh_use_nodejs
sudo -u $app env PATH=$PATH:$nodejs_path npm install hoek@^4.2.1 --save sudo -u $app env PATH=$PATH:$nodejs_path npm install hoek@^4.2.1 --save

View file

@ -74,7 +74,7 @@ ynh_system_user_create "$app" "$final_path"
#================================================= #=================================================
# Restore permissions on app files # Restore permissions on app files
chown -R $app:$app $final_path chown -R "$app":"$app" "$final_path"
mkdir -p /var/log/$app mkdir -p /var/log/$app
chown -R $app:$app /var/log/$app chown -R $app:$app /var/log/$app

View file

@ -116,7 +116,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