summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorAlexandru Scvortov <alexandru@rabbitmq.com>2011-09-20 15:02:58 +0100
committerAlexandru Scvortov <alexandru@rabbitmq.com>2011-09-20 15:02:58 +0100
commit7a77aa4c9f7b6d72515f5a229dc1e3cb902ab0a7 (patch)
tree4033f0ac0f7082c189e4376913a6ccb76ea52b8d /packaging
parente96c34d97713e13c1792234fd371a628fb0900d4 (diff)
downloadrabbitmq-server-7a77aa4c9f7b6d72515f5a229dc1e3cb902ab0a7.tar.gz
rpm permission tweak
Diffstat (limited to 'packaging')
-rw-r--r--packaging/RPMS/Fedora/rabbitmq-server.spec2
1 files changed, 2 insertions, 0 deletions
diff --git a/packaging/RPMS/Fedora/rabbitmq-server.spec b/packaging/RPMS/Fedora/rabbitmq-server.spec
index 81371b12..0807ac12 100644
--- a/packaging/RPMS/Fedora/rabbitmq-server.spec
+++ b/packaging/RPMS/Fedora/rabbitmq-server.spec
@@ -86,6 +86,8 @@ if ! getent passwd rabbitmq >/dev/null; then
-c "RabbitMQ messaging server"
fi
+chown -R rabbitmq:rabbitmq %{_rabbit_erllibdir}/plugins/
+
%post
/sbin/chkconfig --add %{name}
if [ -f %{_sysconfdir}/rabbitmq/rabbitmq.conf ] && [ ! -f %{_sysconfdir}/rabbitmq/rabbitmq-env.conf ]; then