diff options
| author | Michael Klishin <mklishin@pivotal.io> | 2015-03-16 18:13:30 +0100 |
|---|---|---|
| committer | Jean-Sébastien Pédron <jean-sebastien@rabbitmq.com> | 2015-03-18 15:23:27 +0100 |
| commit | 65c68775d0381d3e346e13881c4601222d5b84e4 (patch) | |
| tree | a421c5af0924dff06a2b8be6a65256bb111b3797 /packaging/debs | |
| parent | 397e5a1f1dd8134e559bde969d6bb09f8a2418ee (diff) | |
| download | rabbitmq-server-git-65c68775d0381d3e346e13881c4601222d5b84e4.tar.gz | |
Alter RabbitMQ database directory permissions for .deb and .rpm packages
* Revoke group writing permission
* Revoke all "others" permissions
References #68.
Diffstat (limited to 'packaging/debs')
| -rw-r--r-- | packaging/debs/Debian/debian/postinst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/packaging/debs/Debian/debian/postinst b/packaging/debs/Debian/debian/postinst index 7238ba471f..c83881e6ba 100644 --- a/packaging/debs/Debian/debian/postinst +++ b/packaging/debs/Debian/debian/postinst @@ -33,6 +33,7 @@ fi chown -R rabbitmq:rabbitmq /var/lib/rabbitmq chown -R rabbitmq:rabbitmq /var/log/rabbitmq chmod 750 /var/lib/rabbitmq/mnesia +chmod -R o-rwx,g-w /var/lib/rabbitmq/mnesia case "$1" in configure) |
