-
Notifications
You must be signed in to change notification settings - Fork 693
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Hey, I really like lima so far and wish I could use it for development, but unfortunately I've come across a workflow-breaking issue.
My docker image copies files into a mounted directory and changes their ownership to the custom user 1000. The copying works just fine, but the chown fails with Permission denied
.
This issue can be confirmed in a shell; chmod
fails in the same way.
root@wiki:/# chown 1000 /app/
root@wiki:/# chown 1000 /usr/
root@wiki:/# chmod 777 /app/
root@wiki:/# chmod 777 /usr/
root@wiki:/# chown 1000 /config/
chown: changing ownership of '/config/': Permission denied
root@wiki:/# chmod 777 /config/
chmod: changing permissions of '/config/': Permission denied
It's the same for a custom mount inside of $HOME
and a directory in /tmp/lima
.
The files end up with
drwxrwxrwx 1 nobody nobody 128 Sep 9 13:17 php
Manually touched files get
-rw-r--r-- 1 nobody nobody 0 Sep 9 13:22 test
I'm on an M1 Macbook Pro with macOS 12 and installed QEMU using the provided shell file. The same setup just works with Docker Desktop.
buu700, rndev-io, harens, AlexGurtoff, micperr and 1 moredsewnr
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request