Skip to content
This repository has been archived by the owner on May 6, 2024. It is now read-only.

make linux fails on linux #97

Open
bemasc opened this issue Oct 25, 2022 · 0 comments
Open

make linux fails on linux #97

bemasc opened this issue Oct 25, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@bemasc
Copy link
Contributor

bemasc commented Oct 25, 2022

When I run make linux, I see the following:

+ go build '--ldflags= -s -w -X main.version=v1.16.11' -o /build/electron-linux-amd64 ./
Cleaning up build environment...
INFO: Completed!
mv /home/bemasc/outline-go-tun2socks/build/linux/electron-linux-amd64 /home/bemasc/outline-go-tun2socks/build/linux/tun2socks
mv: cannot move '/home/bemasc/outline-go-tun2socks/build/linux/electron-linux-amd64' to '/home/bemasc/outline-go-tun2socks/build/linux/tun2socks': Permission denied
make: *** [Makefile:49: /home/bemasc/outline-go-tun2socks/build/linux/tun2socks] Error 1

ls shows that the binary has been built, but it is owned by root and is not writable by me:

$ ls -l build/linux/electron-linux-amd64 
-rwxr-xr-x 1 root root 3559872 Oct 25 12:37 build/linux/electron-linux-amd64

Presumably this is somehow because of the permissions settings on Docker.

@maddyhof maddyhof added the bug Something isn't working label Feb 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants