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:
parent
219099e264
commit
636076f0dd
3 changed files with 5 additions and 6 deletions
|
@ -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
|
||||
|
||||
|
||||
#=================================================
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue