I tried my hardest to keep it a simple one-liner but find really does not like dealing with files without x permissions, so I gave in and went with a simple for loop.
Tested locally and my issue in #206 was resolved: a mounted directory with a lost+found dir with perms of 700 no longer prevented the container from starting, and a plugin next to that lost+found dir was successfully placed into plugins-merged and owned by graylog:graylog.
Closes #206
Notes for Reviewers
[ ] The commit history must be preserved - please use the rebase-merge or standard merge option instead of squash-merge
I tried my hardest to keep it a simple one-liner but
find
really does not like dealing with files withoutx
permissions, so I gave in and went with a simple for loop.Tested locally and my issue in #206 was resolved: a mounted directory with a
lost+found
dir with perms of700
no longer prevented the container from starting, and a plugin next to thatlost+found
dir was successfully placed intoplugins-merged
and owned bygraylog:graylog
.Closes #206
Notes for Reviewers