summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-08-08 21:40:37 +0200
committerChristian Grothoff <christian@grothoff.org>2021-08-08 21:40:37 +0200
commit4e791a99866b2d7f95652dc5d9508b392a277ced (patch)
treede858c6bc1f494728e544af0be502f24c0e037a1
parent21eb6700d55be00750dbc2e43ca7bcc752f3ccef (diff)
-remove -R on chown for log dir, remove chown for /home/grothoff, should really not be needed
-rw-r--r--debian/gnunet.postinst4
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/gnunet.postinst b/debian/gnunet.postinst
index 091feb223..d625ccfb6 100644
--- a/debian/gnunet.postinst
+++ b/debian/gnunet.postinst
@@ -169,8 +169,8 @@ case "${1}" in
# Update files and directories permissions.
# Assuming default values, this *should* not be changed.
echo -n "Updating files and directories permissions:"
- chown -R ${_USERNAME}:${_GROUPNAME} /var/log/gnunetd
- chown -R ${_USERNAME}:${_GROUPNAME} ${GNUNET_HOME}
+ chown ${_USERNAME}:${_GROUPNAME} /var/log/gnunetd
+ chown ${_USERNAME}:${_GROUPNAME} /var/log/gnunetd/*
# Secure access to the data directory
chmod 0700 "${GNUNET_HOME}" || true
# Restrict access on setuid binaries