From 9dd8959744290392ed483070217bde003306cd3a Mon Sep 17 00:00:00 2001 From: Mikhail Gusarov Date: Fri, 7 Mar 2014 22:57:38 +0100 Subject: [PATCH] Allow 'adm' group to read rspamd logs --- debian/postinst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/debian/postinst b/debian/postinst index 7d6db2347..7367f59ad 100644 --- a/debian/postinst +++ b/debian/postinst @@ -17,7 +17,9 @@ case "$1" in --force-badname \ $SERVER_USER - chown $SERVER_USER: $SERVER_HOME $SERVER_LOG + chown $SERVER_USER: $SERVER_HOME + chown $SERVER_USER:adm $SERVER_LOG + chmod g+s $SERVER_LOG ;; abort-*) -- 2.39.5