aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testing/bacula/bacula.post-install7
1 files changed, 6 insertions, 1 deletions
diff --git a/testing/bacula/bacula.post-install b/testing/bacula/bacula.post-install
index e1ba52d6fa..a092957361 100644
--- a/testing/bacula/bacula.post-install
+++ b/testing/bacula/bacula.post-install
@@ -1,5 +1,10 @@
#!/bin/sh
-for dir in /var/bacula /var/log/bacula /var/run/bacula /var/lib/bacula
+for dir in /var/bacula /var/log/bacula /var/run/bacula /var/lib/bacula /etc/bacula/scripts/make_catalog_backup*
do
chown bacula.bacula $dir
done
+
+for file in create_postgresql_database make_postgresql_tables grant_postgresql_privileges
+do
+ chown postgres /etc/bacula/scripts/$file
+done