Problem with symlink behavior on macOS
Since April, there seems to be an issue with symlink calls, likely related to macos-fuse-t.
The test_symlink test now fails, with the following error occurring:
ln -s "${TEST_TEXT_FILE}" "${ALT_TEST_TEXT_FILE}"Below is a comparison of the log from a normal macOS (likely the same as in previous versions of macOS) and the log from the current macOS.
[Normal (Ubuntu)]
[INF] s3fs.cpp:s3fs_symlink(1453): [from=test-s3fs-001.txt][to=/testrun-30950/test-s3fs-ALT-001.txt][pid=8208,uid=0,gid=0]
[Error (macos)]
[INF] s3fs.cpp:s3fs_symlink(1453): [from=test-s3fs-ALT-001.txt][to=/testrun-28776/test-s3fs-001.txt][pid=0,uid=501,gid=20]As you can see from the above, the From and To values are reversed when calling the symlink.
@macos-fuse-t This looks like a fuse-t issue, should I submit an issue to https://github.com/macos-fuse-t/fuse-t ?
@gaul I'm also working on other macOS-related tasks, so I plan to create a PR to temporarily disable the test_symlink test (macOS only). Because this issue causes the macOS test to always fail, this test should be bypassed until the problem is resolved.
Source: s3fs-fuse/s3fs-fuse