summaryrefslogtreecommitdiff
path: root/bareos/bareos-storage.install
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-03-11 14:57:01 +0100
committerErich Eckner <git@eckner.net>2020-03-11 14:57:01 +0100
commitf157c05cdabc876a35a2e1189e99fa2d94eed7f9 (patch)
tree5bfe5ab1c4418b9c2006783c29eb68ccfce91581 /bareos/bareos-storage.install
parent8a75211162a607c8b0cbc3a0af3af365288dd967 (diff)
downloadarchlinuxewe-f157c05cdabc876a35a2e1189e99fa2d94eed7f9.tar.xz
bareos: change ownership of /etc/bareos, too, do not change ownership of /usr/bin/*
Diffstat (limited to 'bareos/bareos-storage.install')
-rw-r--r--bareos/bareos-storage.install5
1 files changed, 1 insertions, 4 deletions
diff --git a/bareos/bareos-storage.install b/bareos/bareos-storage.install
index 2b05bd651..883336373 100644
--- a/bareos/bareos-storage.install
+++ b/bareos/bareos-storage.install
@@ -3,10 +3,7 @@ post_install() {
/usr/lib/bareos/scripts/bareos-config initialize_local_hostname
/usr/lib/bareos/scripts/bareos-config initialize_passwords
- chown -R bareos:bareos /etc/bareos/bareos-sd.d
-
- chown bareos:bareos /usr/bin/bareos-sd
-
+ chown -R bareos:bareos /etc/bareos
chown bareos:bareos /var/lib/bareos/storage/
/usr/lib/bareos/scripts/bareos-config setup_sd_user