Oopsie chmod +x cat - Permission denied

Hi All,

I’m a beginner running through the Starting Point - Oopsie Tutorial.

I’ve managed to get to be Robert but when I try the following commands:

export PATH=/tmp:$PATH
cd /tmp/
echo ‘/bin/sh’ > cat
chmod +x cat

I receive the following error:
/bin/sh: 4: chmod: Permission denied

Any hints on what I’m doing wrong here?

Thanks in advance for any help.

Seemed to work when I ran it in the following order:

cd /tmp/
echo ‘/bin/sh’ > cat
chmod +x cat
export PATH=/tmp:$PATH

oh no, it doesnt work for me