From 4e791a99866b2d7f95652dc5d9508b392a277ced Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 8 Aug 2021 21:40:37 +0200 Subject: -remove -R on chown for log dir, remove chown for /home/grothoff, should really not be needed --- debian/gnunet.postinst | 4 ++-- 1 file 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 -- cgit v1.2.3