Server can't be started due to `lost+found` folder

I'm running JanusGraph as a docker container with a mounted volume at /var/lib/janusgraph. Experiencing this issue after restarting the container:
chown: cannot read directory '/var/lib/janusgraph/lost+found': Permission denied
chown: cannot read directory '/var/lib/janusgraph/lost+found': Permission denied
Look like it was created by the linux file system with root only permission. Why does JanusGraph need to read this dir in order to start? Can we have it ignore it instead?
2 Replies
Painguin
PainguinOP8mo ago
Not sure if this is the right way to go: https://github.com/JanusGraph/janusgraph/pull/4428
GitHub
fix: chown fail when OS create folders or files with root only perm...
I'm having issue with Janusgraph whenever the OS create files or folders in the Janusgraph owned directory. For example, when the system restart unexpectedly and a lost+found folder is created....
Want results from more Discord servers?
Add your server