Skip to content
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

virtiofs: file ownerships dynamically changes depending on the caller's UID #1513

Open
AkihiroSuda opened this issue Apr 27, 2023 · 0 comments
Labels
component/vz documentation Improvements or additions to documentation expert kind/external

Comments

@AkihiroSuda
Copy link
Member

AkihiroSuda commented Apr 27, 2023

suda@lima-vz:~$ whoami
suda

suda@lima-vz:~$ ls -ld /Users/suda/
drwxr-xr-x 106 suda suda 3392 Apr 27 05:04 /Users/suda/

suda@lima-vz:~$ sudo ls -ld /Users/suda/
drwxr-xr-x 106 root root 3392 Apr 27 05:04 /Users/suda/

suda@lima-vz:~$ sudo -u foo ls -ld /Users/suda/
drwxr-xr-x 106 foo foo 3392 Apr 27 05:04 /Users/suda/

Lima v0.15.1, macOS 13.3.1 (Intel)

Probably Apple intentionally designed this behavior, but I can't find a documentation for this.

Similar issue in Docker for Mac:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/vz documentation Improvements or additions to documentation expert kind/external
Projects
None yet
Development

No branches or pull requests

1 participant