-
Notifications
You must be signed in to change notification settings - Fork 998
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Installed using the .deb package for ubuntu. I'm getting the following permissions error, it's easy enough to fix, just posting this here because I think the .deb needs the permissions updated
❯ tinygo build -target pico -o test.u2f
tinygo:ld.lld: error: cannot open /usr/local/lib/tinygo/pkg/thumbv6m-unknown-unknown-eabi-cortex-m0plus/compiler-rt/lib.a: Permission denied
tinygo:ld.lld: error: cannot open /usr/local/lib/tinygo/pkg/thumbv6m-unknown-unknown-eabi-cortex-m0plus/picolibc/lib.a: Permission denied
failed to run tool: ld.lld
error: failed to link /tmp/tinygo157798778/main: exit status 1
❯ tinygo version
tinygo version 0.22.0 linux/amd64 (using go version go1.17.7 and LLVM version 13.0.0)The permissions on those files are set to read by root onlY
❯ ls -l /usr/local/lib/tinygo/pkg/thumbv6m-unknown-unknown-eabi-cortex-m0plus/picolibc/lib.a
-rw------- 1 root root 705066 Jan 25 19:00 /usr/local/lib/tinygo/pkg/thumbv6m-unknown-unknown-eabi-cortex-m0plus/picolibc/lib.aMetadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working