summaryrefslogtreecommitdiff
path: root/bareos/bareos-storage.install
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-03-10 15:29:01 +0100
committerErich Eckner <git@eckner.net>2020-03-10 15:29:01 +0100
commit88908d19ca3b408681ccef854d5be255258a7297 (patch)
tree1deed221d43679f3f7d29348f1bd48ecad6c7a5c /bareos/bareos-storage.install
parent293b7746f41be835b4a48d1f644945387414a9c0 (diff)
downloadarchlinuxewe-88908d19ca3b408681ccef854d5be255258a7297.tar.xz
bareos: install stuff under /etc/bareos instead of /usr/share/bareos/config, also give installed stuff the right permissions up-front - only the owner will be set after installation
Diffstat (limited to 'bareos/bareos-storage.install')
-rw-r--r--bareos/bareos-storage.install2
1 files changed, 0 insertions, 2 deletions
diff --git a/bareos/bareos-storage.install b/bareos/bareos-storage.install
index 8026ef6fa..12cf3285b 100644
--- a/bareos/bareos-storage.install
+++ b/bareos/bareos-storage.install
@@ -4,12 +4,10 @@ post_install() {
/usr/lib/bareos/scripts/bareos-config initialize_passwords
chown -R bareos:bareos /usr/share/bareos/config/bareos-sd.d
- chmod -R 750 /usr/share/bareos/config/bareos-sd.d
chown bareos:bareos /usr/bin/bareos-sd
chown bareos:bareos /var/lib/bareos/storage/
- chmod 750 /var/lib/bareos/storage/
/usr/lib/bareos/scripts/bareos-config setup_sd_user
}