-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bizarre file ownerships causing failures on MacOS #25
Comments
OK, the above was all in the VS Code devcontainer with bound volumes. If you are in just docker volume with no VS Code and no bindings, then everything passes using the Docker VMM setting. Docker + bindings but without VSCode gets almost-the-same-but-not-quite failures and goes a teeny bit faster, but still very slow:
So it may be that VS Code without bindings, and just right-clicking to download results, may be the most sensible option. |
We could experiment with removing the bind mount for the |
Simple test that illustrates it -
TestFileFinder.hpp
Fails with messages like this:
Looking at the file it mentions, the folder has some file chown settings no-one has ever seen before!
Doing a bit of detective work, I think it is this line which causes it - a call to FileFinder::CopyTo, applied to a directory, only where the source and destination are both somewhere in the testoutput (the bound docker volume).
Under the hood, this only seems to be using
std::filesystem::directory_iterator
,std::filesystem::create_directory(dest)
. Both these seem to work, as the created folders have the right permissions and the tree is constructed right. And thenstd::filesystem::copy_file
on line 305 of FileFinder.cpp must be doing something weird.Even then it is a bit intermittent, and when I've started with a clean ~/output folder sometimes it works first time, fails second, and sometimes it always fails!
The text was updated successfully, but these errors were encountered: