Closed stephenjudkins closed 2 years ago
I found where these files live in the macOS host filesystem, and FWIW the xattrs to store container uid/guid seem correct on the symlink:
stephen@boris-godunov test % ls -lh
total 0
lrwxrwxrwx 1 stephen staff 3B Aug 10 15:45 bar -> foo
-rw-------@ 1 stephen staff 0B Aug 10 15:45 foo
stephen@boris-godunov test % xattr -p user.containers.override_stat bar
0:0:0100644
stephen@boris-godunov test % xattr -p user.containers.override_stat foo
0:0:0100644
So whatever's wrong, I suspect it's in the "read path", if that makes sense.
Thanks for the report. This will be fixed by https://github.com/containers/libkrun/pull/68
Fixed in libkrun-1.4.1, which is already available in the Homebrew repo.
thanks for the fix. greatly appreciate it
Some context, using macOS 12.4 (21F79):
To reproduce:
Expected: a symlink created with
ln -s
should have user/group root/root. Actual: the symlink has uid/gid 501/20, same as the macOS user who started the krunvm vm.