[zookeeper] 02/15: /var/lib/zookeeper is no longer world-readable (Closes: #870271)
tony mancill
tmancill at debian.org
Sat Jan 20 22:13:27 UTC 2018
This is an automated email from the git hooks/post-receive script.
tmancill pushed a commit to branch master
in repository zookeeper.
commit 6bce520e33335f862a626a697a25ac583bec9eb4
Author: tony mancill <tmancill at debian.org>
Date: Sat Jan 13 16:31:10 2018 -0800
/var/lib/zookeeper is no longer world-readable (Closes: #870271)
---
debian/zookeeper.postinst | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/debian/zookeeper.postinst b/debian/zookeeper.postinst
index 84989ca..67dd2d0 100644
--- a/debian/zookeeper.postinst
+++ b/debian/zookeeper.postinst
@@ -13,7 +13,7 @@ if ! getent group $GROUP >/dev/null ; then
addgroup --system $GROUP >/dev/null
fi
-# creating zookeeper user if he isn't already there
+# creating zookeeper user if it isn't already there
if ! getent passwd $USER >/dev/null ; then
# Adding system user
adduser \
@@ -28,6 +28,7 @@ fi
chown $USER:$GROUP /var/log/$NAME
chown $USER:$GROUP /var/lib/$NAME
+chmod o-rwx /var/lib/$NAME
update-alternatives --install /etc/$NAME/conf $NAME-conf /etc/$NAME/conf_example 5
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/zookeeper.git
More information about the pkg-java-commits
mailing list