summaryrefslogtreecommitdiffstats
path: root/testing/bacula/bacula.post-install
blob: a09295736119f88b586874b4b46ee2474d6d6331 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh
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