summaryrefslogtreecommitdiff
path: root/debian/rsyslog.postinst
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2012-11-28 22:14:43 +0100
committerMichael Biebl <biebl@debian.org>2012-11-28 22:14:43 +0100
commit87d30e92e0bf701dae8e67ceee7f1f61f1220e20 (patch)
treee5666c8d53ab1da9f91d8cc39f2048ebf559cf38 /debian/rsyslog.postinst
parent6756999d2f3ef7dbf35ce4445f0d42a89280e7b1 (diff)
downloadrsyslog-87d30e92e0bf701dae8e67ceee7f1f61f1220e20.tar.gz
Fix permissions of the spool/work directory. (Closes: #693099)
Diffstat (limited to 'debian/rsyslog.postinst')
-rw-r--r--debian/rsyslog.postinst5
1 files changed, 4 insertions, 1 deletions
diff --git a/debian/rsyslog.postinst b/debian/rsyslog.postinst
index 7aa3f91..a4fb3a0 100644
--- a/debian/rsyslog.postinst
+++ b/debian/rsyslog.postinst
@@ -16,10 +16,13 @@ set -e
case "$1" in
configure)
- # /run transition (see #633036)
+ # /run transition (Bug: #633036)
if dpkg --compare-versions "$2" lt "5.8.2-2"; then
rm -f /lib/init/rw/sendsigs.omit.d/rsyslog
fi
+
+ # Fix permissions of the spool/work directory (Bug: #693099)
+ chmod 700 /var/spool/rsyslog
;;
abort-upgrade|abort-remove|abort-deconfigure)