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

make linux fails on linux #97

@bemasc

Description

@bemasc

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions