dokku-rabbitmq-plugin icon indicating copy to clipboard operation
dokku-rabbitmq-plugin copied to clipboard

Wrong permissions for /home/dokku/.rabbitmq/test/volume directory

Open evdoks opened this issue 10 years ago • 0 comments

When deleting a rabbitmq container numerous directories cannot be removed:

rm: cannot remove '/home/dokku/.rabbitmq/test/volume/initialized': Permission denied
rm: cannot remove '/home/dokku/.rabbitmq/test/volume/rabbit@19cbdc3d8d4a-plugins-expand/rabbitmq_web_dispatch-3.3.5/ebin/rabbit_web_dispatch.beam': Permission denied
rm: cannot remove '/home/dokku/.rabbitmq/test/volume/rabbit@19cbdc3d8d4a-plugins-expand/rabbitmq_web_dispatch-3.3.5/ebin/rabbitmq_web_dispatch.app': Permission denied

It seems that permissions for /home/dokku/.rabbitmq/test/volume are incorrect:

drwxr-xr-x 4 syslog crontab 4096 Aug 22 04:35 volume/

Setting the owner to dokku fixes the problem

evdoks avatar Aug 22 '14 08:08 evdoks