abiosoft / abiosoft/colima

Permission denied issues when using virtiofs

オープン
#1,258 コメント 6 件 リアクション 6 件 担当者 0 名 GitHub で見る
主要言語
Go
スター
30.8k
フォーク
613
PR マージ指標
30日以内にマージされた PR はありません

説明

### Description

When running colima with the virtiofs driver I see permission denied errors when using bind volumes to sync files between my workspace and my dev container I see random permission denied errors. There errors are usually happening when running commands like `yarn install` or `yarn build`.

Sometimes the command will complete after re-running 2 or maybe even 3 times. If I rebuild my VM using sshfs I don't get any errors at all but the performance is much lower compared to virtiofs.

### Version

Happens on many versions

### Operating System

- [ ] macOS Intel <= 13 (Ventura)
- [ ] macOS Intel >= 14 (Sonoma)
- [ ] Apple Silicon <= 13 (Ventura)
- [x] Apple Silicon >= 14 (Sonoma)
- [ ] Linux

### Output of `colima status`

Happens on many versions

### Reproduction Steps

1. Build VM using virtiofs and vz setup
2. Checkout any node project and do `yarn install`
3. Observe random permission denied errors where files have correct permissions and the system user (non-root) is able to access problematic files.

### Expected behaviour

No permission denied errors.

### Additional context

_No response_

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。