Skip to content

.erlang.cookie must be accessible by owner only #171

Closed
@protossyk

Description

@protossyk

Hallo:
i run rabbitmq container with a mount.cifs mounted volume.

docker run -d --restart always --name rabbitmqmanagement2 --hostname dfherabbitmq2 -p 8888:15672 -e RABBITMQ_DEFAULT_USER=admin -e RABBITMQ_DEFAULT_PASS=admin -v /var/rabbitmqdatavol2:/var/lib/rabbitmq rabbitmq:3-management

it shows me the error log:
"Cookie file /var/lib/rabbitmq/.erlang.cookie must be accessible by owner only" ...and more
when i run the container with local disk, it goes work successful. i found the .erlong.cookie file permission mask could not be 400, when i use mount.cifs volume

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions