[pkg-bacula-commits] [bacula] 05/06: Remove setcap
Sven Hartge
hartge-guest at moszumanska.debian.org
Sat Sep 10 19:28:19 UTC 2016
This is an automated email from the git hooks/post-receive script.
hartge-guest pushed a commit to branch hardcode-users
in repository bacula.
commit c2c4e586686cf855b1bd581f80c26b59c83ccb61
Author: Sven Hartge <sven at svenhartge.de>
Date: Sat Sep 10 21:27:48 2016 +0200
Remove setcap
---
debian/bacula-fd.postinst | 9 ---------
1 file changed, 9 deletions(-)
diff --git a/debian/bacula-fd.postinst b/debian/bacula-fd.postinst
index 786de18..cca3461 100644
--- a/debian/bacula-fd.postinst
+++ b/debian/bacula-fd.postinst
@@ -21,15 +21,6 @@ case "$1" in
-i $TARGET
fi
- # If we have setcap installed, try setting cap_dac_read_search+ep,
- # which allows running bacula-fd as non-root.
- if command -v setcap > /dev/null; then
- if ! setcap cap_dac_read_search+ep /usr/sbin/bacula-fd; then
- echo "setcap failed on /usr/sbin/bacula-fd, running bacula-fd as non-root not possible" >&2
- fi
- else
- echo "setcap is not installed, running bacula-fd as non-root not possible" >&2
- fi
;;
esac
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-bacula/bacula.git
More information about the pkg-bacula-commits
mailing list