From: Mikhail Gusarov Date: Sun, 23 Feb 2014 00:07:23 +0000 (+0100) Subject: /var/lib/rspamd ownership is fixed, don't allow to override X-Git-Tag: 0.6.9~10^2~11 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f184e63df7e55df62db45e52974f093f8558e86e;p=thirdparty%2Frspamd.git /var/lib/rspamd ownership is fixed, don't allow to override --- diff --git a/debian/postinst b/debian/postinst index 7c30263bdf..578173981b 100644 --- a/debian/postinst +++ b/debian/postinst @@ -19,13 +19,9 @@ case "$1" in --gecos "$SERVER_NAME" \ $SERVER_USER - # 5. adjust file and directory permissions - if ! dpkg-statoverride --list $SERVER_HOME >/dev/null - then - chown -R $SERVER_USER:$SERVER_GROUP $SERVER_HOME $SERVER_LOG - chmod u=rwx,g=rx,o= $SERVER_HOME - chmod u=rwx,g=rx,o=rx $SERVER_LOG - fi + chown -R $SERVER_USER:$SERVER_GROUP $SERVER_HOME $SERVER_LOG + chmod u=rwx,g=rx,o= $SERVER_HOME + chmod u=rwx,g=rx,o=rx $SERVER_LOG ;; abort-*)