summaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
authorMikhail Gusarov <dottedmag@dottedmag.net>2014-02-23 09:37:15 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2014-02-24 13:17:46 +0000
commita79cc70480fc3db1b17cd0e7ffb3db8afa2e1880 (patch)
tree03251722be7d2051d8e8f5df3c520461c69d32d7 /debian
parent68d3452120e3f285f01f9e671528bd42aaee8958 (diff)
downloadrspamd-a79cc70480fc3db1b17cd0e7ffb3db8afa2e1880.tar.gz
rspamd-a79cc70480fc3db1b17cd0e7ffb3db8afa2e1880.zip
Fix permissions in package, don't change it in postinst
Diffstat (limited to 'debian')
-rw-r--r--debian/postinst2
-rwxr-xr-xdebian/rules4
2 files changed, 4 insertions, 2 deletions
diff --git a/debian/postinst b/debian/postinst
index 4c39b569a..6330486c2 100644
--- a/debian/postinst
+++ b/debian/postinst
@@ -20,8 +20,6 @@ case "$1" in
$SERVER_USER
chown $SERVER_USER: $SERVER_HOME $SERVER_LOG
- chmod u=rwx,g=rx,o= $SERVER_HOME
- chmod u=rwx,g=rx,o=rx $SERVER_LOG
;;
abort-*)
diff --git a/debian/rules b/debian/rules
index 1128635c2..c12157f3e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -26,3 +26,7 @@ override_dh_auto_configure:
override_dh_auto_clean:
dh_auto_clean
rm -f src/modules.c
+
+override_dh_fixperms:
+ dh_fixperms
+ chmod 750 $(CURDIR)/debian/rspamd/var/lib/rspamd