lima-vm / lima-vm/lima

Adding a mount causes the home directory to have group=root

Open
#4,532 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
21.9k
Forks
957
Avg merge
2d 6h
Merged PRs (30d)
53

Description

### Description

I'm using Lima on macOS, with the `vz` driver and a Debian 13 image. I noticed that if I add a mount like this one:

```
- {location: "/some/local/path", mountPoint: "{{.Home}}/foobar",}
```

the owner of the home directory in the VM changes from `myuser:myuser` to `myuser:root`.

This is not a big issue, but it can lead to some [interesting side effects](https://phabricator.wikimedia.org/T414824), so it would be nice if Lima behaved more consistently.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.