Skip to content
This repository was archived by the owner on Oct 15, 2023. It is now read-only.
This repository was archived by the owner on Oct 15, 2023. It is now read-only.

data volume permissions #134

@fsaintma

Description

@fsaintma

Hi

When I launch your Docker image with a volume to map the JanusGraph data directory on my computer (the directory on my computer don't exist yet) I obtain this result and the storage is not initialized correctly

$ docker run --rm --name janusgraph-default -v ${PWD}/graph:/var/lib/janusgraph docker.io/janusgraph/janusgraph:latest
chown: changing ownership of '/var/lib/janusgraph': Operation not permitted
chmod: changing permissions of '/var/lib/janusgraph': Operation not permitted
waiting for storage...
waiting for storage...
waiting for storage...

$ ls -la
drwxr-xr-x  2 root     root      4096 mai   27 12:06 graph

The only workaround I found is to create/modify manually the directory before the Docker command with the good permissions (uid/gid = 999).
Could we have a directory initialized with the good permissions ?
Thanks for your help.
Best regards.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions