Hello Team, I'm having an issue saving my answer into a file given in one of the . . .

Adeola Adefolaju:
Hello Team, I’m having an issue saving my answer into a file given in one of the questions on killer.sh, so I am unable to solve the question as the content cannot be saved in the file as directed in the question. Attached is the error from vim editor. Any idea about what to do please?

Vitor Jr.:
you don’t have permission to open this file with this user

Vitor Jr.:
try open it with sudo vi

Vitor Jr.:
Or, this path doesn’t exist

Vitor Jr.:
try with ls -la /opt/course/17/pod-container.txt

Adeola Adefolaju:
Yea i think the file is read only. The problem is I cannot save my answer in it. It gave me the error when I tried to save.

Vitor Jr.:
did you tried with sudo?

Adeola Adefolaju:
Yes was just typing a reply to that. None worked

Vitor Jr.:
can you enter this directory with cd /opt/course/17/?

Adeola Adefolaju:
let me try that brb

Adeola Adefolaju:

image.png

Vitor Jr.:
that’s why :slightly_smiling_face:

Vitor Jr.:
are you in the correct host?

Adeola Adefolaju:
Yes am on the node where the pod is running

Vitor Jr.:
which lesson is this one

Adeola Adefolaju:
The question said I should ssh into the node

Adeola Adefolaju:
hmmm dont’t know if am allowed to say that without breaking the rules. Its one of the questions on killer.sh

Vitor Jr.:
oh ok

Vitor Jr.:
I though it was from kodekloud

Adeola Adefolaju:
I actually know what to do but just cannot save in the file