summaryrefslogtreecommitdiff
path: root/packaging/debs
diff options
context:
space:
mode:
authorJean-Sebastien Pedron <jean-sebastien@rabbitmq.com>2015-02-03 15:14:33 +0100
committerJean-Sebastien Pedron <jean-sebastien@rabbitmq.com>2015-02-03 15:14:33 +0100
commitad004f9bb669ce139bb435b09b3c4ec87d8fbaf1 (patch)
treede8d835ae24dbc1534b067f9b90e86588e70555e /packaging/debs
parent7f0d01b10903697fbdf9a193105c39f5df88ee8d (diff)
downloadrabbitmq-server-git-ad004f9bb669ce139bb435b09b3c4ec87d8fbaf1.tar.gz
RPM/Deb: Restrict Mnesia directory permissions to owner and group
Non group members are not allowed to access Mnesia & msg_store data.
Diffstat (limited to 'packaging/debs')
-rw-r--r--packaging/debs/Debian/debian/postinst1
1 files changed, 1 insertions, 0 deletions
diff --git a/packaging/debs/Debian/debian/postinst b/packaging/debs/Debian/debian/postinst
index b11340ef8a..7238ba471f 100644
--- a/packaging/debs/Debian/debian/postinst
+++ b/packaging/debs/Debian/debian/postinst
@@ -32,6 +32,7 @@ fi
chown -R rabbitmq:rabbitmq /var/lib/rabbitmq
chown -R rabbitmq:rabbitmq /var/log/rabbitmq
+chmod 750 /var/lib/rabbitmq/mnesia
case "$1" in
configure)