JanusGraph / janusgraph

JanusGraph: an open-source, distributed graph database
https://janusgraph.org
Other
5.28k stars 1.17k forks source link

fix: chown fail when OS create folders or files with root only permission #4428

Closed tien closed 4 months ago

tien commented 5 months ago

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. The lost+found created by fsck have root only access, so chown will fail.

I don't think chown need to be recursive because files that are created & used by Janusgraph will all be created by the default user (janusgraph) anyway.

li-boxuan commented 5 months ago

@FlorianHockmann tagging you as git blame says you are probably most familiar with this :)

FlorianHockmann commented 4 months ago

💚 All backports created successfully

Status Branch Result
✅ v1.0

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation