Hi there, i had the exam just now and had some strange problems with the permiss . . .

Nathanael Fuog:
hi there,
i had the exam just now and had some strange problems with the permission writing the result files. all the files i had to create eg. /opt/foo/answer001 did already exist and i could not write in to the files… the file always had permission denied. i tried to write with sudo but no success…

the only thing i could do was k get node foo > tmp.txt , sudo rm /opt/foo/answer001 and sudo cp tmp.txt /opt/foo/answer001

Nathanael Fuog:
i hope that works …

Manish kc:
you could use sudo -i

Manish kc:
That works too

Nathanael Fuog:
nope

Nathanael Fuog:
did not work. i switched to root and wanted to write just the answer “2” to the file

root@foo # echo "2" > /opt/foo/answer001 and i got a permission denied…

Nathanael Fuog:
it was a regular file prior to my removal. i hope they did not use some kind of hard-link magic on the answer file because in that case my answer is now lost

Tej_Singh_Rana:
Please write your issue to <https://training.linuxfoundation.org/about/contact-us/|LF support team>. So they will take a look into it.

Nathanael Fuog:
thanks for the link, i have raised a ticket