Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

sbf-tools assumes write access based on solana cli directory #35715

Closed
TomMD opened this issue Dec 7, 2024 · 1 comment
Closed

sbf-tools assumes write access based on solana cli directory #35715

TomMD opened this issue Dec 7, 2024 · 1 comment

Comments

@TomMD
Copy link

TomMD commented Dec 7, 2024

cargo build-sbf fails:

[2024-12-07T00:56:35.198892000Z ERROR cargo_build_sbf] Failed to install sbf-tools: Permission denied (os error 13)
cargo build-sbf  16.17s user 2.45s system 45% cpu 41.360 total

Seemingly because the system assumes a good place to place data is global and next to the solana-cli data. This isn't universally true, nix profile install solana-cli will place a solana binary in read-only /nix/store and softlink the binaries. I suggest the build-sbf uses a $HOME/.solana/... directory.

Copy link
Contributor

github-actions bot commented Dec 7, 2024

This repository is no longer in use. Please re-open this issue in the agave repo: https://github.com/anza-xyz/agave

@github-actions github-actions bot closed this as completed Dec 7, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant