lima-vm / lima-vm/lima

Reverse SSHFS mount fails with "Permission denied" due to Path Conversion conflicts

Open
#4,810 2 comments 0 reactions 1 assignee Claimed by @liketosweep View on GitHub
bug host/Windows
Dominant language
Go
Stars
21.9k
Forks
957
Avg merge
2d 6h
Merged PRs (30d)
53

Description

### Description

When running Lima on Windows using the QEMU driver, the automatic mounting of the Windows home directory (C:\Users\user) to the guest VM (at /c/Users/user) consistently fails due to path conversion and `fusermount3: mount failed: Permission denied` issues. This appears to be affecting both locally and CI pipelines.

```
level=info msg="[hostagent] Mounting \"C:\\Users\\anshu\" on \"/c/Users/anshu\""
level=info msg="[hostagent] Accepting \"/c/Users/anshu\" Unix path, assuming Cygwin/msys2 OpenSSH"
level=info msg="[hostagent] chdir to \"/c/Users/anshu\" failed: No such file or directory\r"
level=info msg="[hostagent] fusermount3: mount failed: Permission denied"
level=warning msg="[hostagent] failed to confirm whether /c/Users/anshu [remote] is successfully mounted"
```

https://github.com/lima-vm/lima/actions/runs/23485110542/job/69213743941?pr=4772#step:7:114

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.