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:
Yalh 2019-01-29 01:59:40 +01:00
parent 866a977bd8
commit bebf990e1b
3 changed files with 11 additions and 4 deletions

View file

@ -170,7 +170,9 @@ ynh_system_user_create $app
ynh_install_nodejs 8
chown -R $app $final_path
chown -R $app:$app $final_path
chown -R $app:$app /var/log/$app
pushd $final_path
ynh_use_nodejs
@ -264,7 +266,7 @@ ynh_add_systemd_config
### that really need such authorization.
# Set permissions to app files
chown -R root: $final_path
#chown -R root: $final_path
#=================================================
# SETUP LOGROTATE

View file

@ -74,7 +74,9 @@ ynh_system_user_create $app
#=================================================
# Restore permissions on app files
chown -R root: $final_path
chown -R $app:$app $final_path
chown -R $app:$app /var/log/$app
#=================================================
# RESTORE THE PHP-FPM CONFIGURATION

View file

@ -142,7 +142,10 @@ ynh_add_systemd_config
#=================================================
# Set permissions on app files
chown -R root: $final_path
#chown -R root: $final_path
chown -R $app:$app $final_path
chown -R $app:$app /var/log/$app
#=================================================
# SETUP SSOWAT