Read-only file system error

After i type mrchromebox’s script it comes back with failed to open file Read-only file and also curl: (23 failure writing output to destination.

I have fixed it

How did you fix it?

Easiest way is to do cd /tmp instead of just cd

How di you fix plsss