1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/calibreweb_ynh.git synced 2024-09-03 18:16:20 +02:00

Commit permission : back to calibreweb

This commit is contained in:
Krakinou 2018-12-16 18:35:36 +01:00
parent 219099e264
commit 636076f0dd
3 changed files with 5 additions and 6 deletions

View file

@ -174,8 +174,9 @@ ynh_print_ON
#=================================================
# Set permissions to app files
chown -R root: $final_path
chown calibreweb: $final_path/app.db
#disabled - do not work when calibreweb is not owner
#chown -R root: $final_path
#chown $app: $final_path/app.db
#=================================================

View file

@ -62,8 +62,7 @@ ynh_system_user_create $app
#=================================================
# Restore permissions on app files
chown -R root: $final_path
chown calibreweb: $final_path/app.db
chown -R $app: $final_path
#=================================================
# SPECIFIC RESTORATION

View file

@ -113,8 +113,7 @@ ynh_add_systemd_config
#=================================================
# Set permissions on app files
chown -R root: $final_path
chown -R $app: $final_path/app.db
chown -R $app: $final_path
#=================================================
# SETUP SSOWAT