Open
Description
Description
limactl version 0.8.1
After picking up a shell session on the lima vm or running from inside a docker container, building go binaries inside a mount:
go build -o $MOUNTED_HOST_FOLDER ./cmd/server/main.go
results in creating the main file not executable:
-rw-r--r-- 1 lima dialout 35264925 Jan 27 15:00 main
Same done to a vm folder:
go build -o $HOME ./cmd/server/main.go
results in:
-rwxrwxr-x 1 lima lima 35264925 Jan 27 15:03 main
This prevents us from switching from Docker Desktop to lima + docker seamlessly without modification to our workflows expecting the binary to be executable after compilation.
NOTE: chmod on the file works as intended, we have a workaround but requires us some modifications.