]> source.dussan.org Git - rspamd.git/commitdiff
Allow 'adm' group to read rspamd logs
authorMikhail Gusarov <dottedmag@dottedmag.net>
Fri, 7 Mar 2014 21:57:38 +0000 (22:57 +0100)
committerMikhail Gusarov <dottedmag@dottedmag.net>
Fri, 7 Mar 2014 21:57:38 +0000 (22:57 +0100)
debian/postinst

index 7d6db234797ec943c013e2efc014103f338fadd6..7367f59adc4e565e7cb1f4edcb4552cb8ee9102f 100644 (file)
@@ -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-*)