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

Permission denied issues when using virtiofs #1258

Open
1 of 5 tasks
iliasu-zinc opened this issue Jan 27, 2025 · 0 comments
Open
1 of 5 tasks

Permission denied issues when using virtiofs #1258

iliasu-zinc opened this issue Jan 27, 2025 · 0 comments

Comments

@iliasu-zinc
Copy link

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)
  • 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant