Browse Source

Fix permissions in package, don't change it in postinst

tags/0.7.0
Mikhail Gusarov 10 years ago
parent
commit
a79cc70480
2 changed files with 4 additions and 2 deletions
  1. 0
    2
      debian/postinst
  2. 4
    0
      debian/rules

+ 0
- 2
debian/postinst View File

@@ -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-*)

+ 4
- 0
debian/rules View File

@@ -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

Loading…
Cancel
Save