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.
@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.
On linux, the files returned by
helm
don't have the appropriate permissions. This means thatmake bootstrap
under thedevnet/
directory returnsPermission denied
unless it's run withsudo
, 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.