aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMikhail Gusarov <dottedmag@dottedmag.net>2014-03-07 22:57:38 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2014-03-08 21:49:18 +0000
commitc873f00d4a78098081c2988eaa6c2c57071fd3b9 (patch)
tree1a5cd6c2441d2f1e2e3b1f9f5f1b604397bebcb9
parentc2b99bffe57d43ccea4ad2ba1975c9996ec595e3 (diff)
downloadrspamd-c873f00d4a78098081c2988eaa6c2c57071fd3b9.tar.gz
rspamd-c873f00d4a78098081c2988eaa6c2c57071fd3b9.zip
Allow 'adm' group to read rspamd logs
-rw-r--r--debian/postinst4
1 files changed, 3 insertions, 1 deletions
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-*)