diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-08-08 21:40:37 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-08-08 21:40:37 +0200 |
commit | 4e791a99866b2d7f95652dc5d9508b392a277ced (patch) | |
tree | de858c6bc1f494728e544af0be502f24c0e037a1 | |
parent | 21eb6700d55be00750dbc2e43ca7bcc752f3ccef (diff) | |
download | gnunet-4e791a99866b2d7f95652dc5d9508b392a277ced.tar.gz gnunet-4e791a99866b2d7f95652dc5d9508b392a277ced.zip |
-remove -R on chown for log dir, remove chown for /home/grothoff, should really not be needed
-rw-r--r-- | debian/gnunet.postinst | 4 |
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 | |||
169 | # Update files and directories permissions. | 169 | # Update files and directories permissions. |
170 | # Assuming default values, this *should* not be changed. | 170 | # Assuming default values, this *should* not be changed. |
171 | echo -n "Updating files and directories permissions:" | 171 | echo -n "Updating files and directories permissions:" |
172 | chown -R ${_USERNAME}:${_GROUPNAME} /var/log/gnunetd | 172 | chown ${_USERNAME}:${_GROUPNAME} /var/log/gnunetd |
173 | chown -R ${_USERNAME}:${_GROUPNAME} ${GNUNET_HOME} | 173 | chown ${_USERNAME}:${_GROUPNAME} /var/log/gnunetd/* |
174 | # Secure access to the data directory | 174 | # Secure access to the data directory |
175 | chmod 0700 "${GNUNET_HOME}" || true | 175 | chmod 0700 "${GNUNET_HOME}" || true |
176 | # Restrict access on setuid binaries | 176 | # Restrict access on setuid binaries |