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 error on writable volume #65

Open
jakubledl opened this issue Nov 18, 2021 · 0 comments
Open

Permission error on writable volume #65

jakubledl opened this issue Nov 18, 2021 · 0 comments

Comments

@jakubledl
Copy link

Hi everyone,

first of all, many thanks for all the work put into this awesome project!

I have the following setup:

  1. Colima is running with a directory mounted into the VM as writable using colima start --mount <dir>:w.
  2. I have a docker container running with a subdirectory <subdir> of <dir> mounted via a bind mount.
  3. Inside the container, I run a node process which is supposed to write a modest amount (~ 400) of generated text files into yet another subdirectory of <subdir>.

Unfortunately, the process fails with EPERM: operation not permitted, open <file>. The <file> is different each time, but the number of files written before the error is always 233 or 234. I made sure that everyone (the actual computer, the VM and the container) sees the folder as writable to rule out that it is an actual problem of permissions. With Docker Desktop, no such error occurs. ulimit -n returns 256 on the computer, 1024 on the VM and 1048576 in the container.

Once again, many thanks for your efforts!

Best,
Jakub

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