From 700653228e529a2a3b4faaefedeb8a9e1e312d06 Mon Sep 17 00:00:00 2001 From: "ljf (zamentur)" Date: Sat, 23 Dec 2017 03:17:56 +0100 Subject: [PATCH] [fix] Permission issue --- scripts/restore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/restore b/scripts/restore index 1e4d71d..0d3b76f 100644 --- a/scripts/restore +++ b/scripts/restore @@ -33,6 +33,8 @@ define_dbpass restore function restore_files () { if [ "$is_master" = true ]; then ynh_restore + chown -R odoo:odoo /var/lib/odoo/ + chown postgres:postgres /etc/postgresql/9.4/main/pg_hba.conf else # If odoo is already setup we just restore nginx and add some missing # modules. Other files are already on system, and we don't want to