Starting Point: OOPSIE

Hi Everyone.! So how come when I am dong a privilege escalation on OOPSIE, I have to ssh into the box in order to point the shell at cat? It doesn’t work if I just su from www-data account. I get a denied not enough permissions notification.