diff --git a/scripts/install b/scripts/install index f93ece3..3931f55 100755 --- a/scripts/install +++ b/scripts/install @@ -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 #================================================= diff --git a/scripts/restore b/scripts/restore index 1adbb31..4172a45 100755 --- a/scripts/restore +++ b/scripts/restore @@ -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 diff --git a/scripts/upgrade b/scripts/upgrade index 3f5a906..68be6fe 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -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