scroll-tech / scroll-sdk

Production-ready infrastructure for building a chain with Scroll's zkEVM
https://scroll-sdk-init.docs.scroll.xyz/en/sdk/
MIT License
8 stars 2 forks source link

fix: Upadate prepare-config-files.sh to support linux #200

Closed Turupawn closed 2 weeks ago

Turupawn commented 2 weeks ago

On linux, the files returned by helm don't have the appropriate permissions. This means that make bootstrap under the devnet/ directory returns Permission denied unless it's run with sudo, which it shouldn't be used.

This PR adjusts the permissions recursively after the files are pulled. This allows linux users to launch their local devnet without the need of using sudo.

Tested on Ubuntu 24.04 LTS clean install.

dghelm commented 2 weeks ago

@yiweichi We'll need to follow-up with a new scroll-sdk version, but we already have some other PRs that will require this I think, so not going to force it in this PR.