blob: c134e8e4fa78ad89a4851ed092cc2d6cf0400a53 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#!/bin/sh
mkdir /var/lib/bacula /var/log/bacula &>/dev/null
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
|