19 Feb 2018, 13:43

@la-vague make the partition rewritable with:
mount -o remount,rw / before trying to change permits.
And it seems to me you haven‘t copied the script properly, but downloaded some html code instead. After you copy the script, open it wirh WinSCP (use it to copy it too!) and see the file matches the code itself.