diff options
author | Mikhail Gusarov <dottedmag@dottedmag.net> | 2014-03-07 22:57:38 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-03-08 21:49:18 +0000 |
commit | c873f00d4a78098081c2988eaa6c2c57071fd3b9 (patch) | |
tree | 1a5cd6c2441d2f1e2e3b1f9f5f1b604397bebcb9 | |
parent | c2b99bffe57d43ccea4ad2ba1975c9996ec595e3 (diff) | |
download | rspamd-c873f00d4a78098081c2988eaa6c2c57071fd3b9.tar.gz rspamd-c873f00d4a78098081c2988eaa6c2c57071fd3b9.zip |
Allow 'adm' group to read rspamd logs
-rw-r--r-- | debian/postinst | 4 |
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-*) |