Add appropriate chmod to README instructions

See Mozilla-Ocho/llamafile#13
This commit is contained in:
Justine Tunney 2023-11-30 03:35:17 -08:00
parent 7b3d7ee07b
commit 20938a45e6
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
2 changed files with 2 additions and 0 deletions

View file

@ -221,6 +221,7 @@ You can fix that by registering APE with `binfmt_misc`:
```sh
sudo wget -O /usr/bin/ape https://cosmo.zip/pub/cosmos/bin/ape-$(uname -m).elf
sudo chmod +x /usr/bin/ape
sudo sh -c "echo ':APE:M::MZqFpD::/usr/bin/ape:' >/proc/sys/fs/binfmt_misc/register"
sudo sh -c "echo ':APE-jart:M::jartsr::/usr/bin/ape:' >/proc/sys/fs/binfmt_misc/register"
```

View file

@ -99,6 +99,7 @@ can fix that by running these commands:
```sh
sudo wget -O /usr/bin/ape https://cosmo.zip/pub/cosmos/bin/ape-$(uname -m).elf
sudo chmod +x /usr/bin/ape
sudo sh -c "echo ':APE:M::MZqFpD::/usr/bin/ape:' >/proc/sys/fs/binfmt_misc/register"
sudo sh -c "echo ':APE-jart:M::jartsr::/usr/bin/ape:' >/proc/sys/fs/binfmt_misc/register"
```