Hi, I want to exec into the pod and change permission of file with chown but wh . . .

SAGAR RAJE:
Hi, I want to exec into the pod and change permission of file with chown but when I am trying to same with exec getting below error>

chown: changing ownership of '/srv': Operation not permitted

unnivkn:
try this, however not recommended.
image.png

Mahesan G:
@unnivkn Thanks for the info, So by default all the pods FS is readonly? do we need to disable that explicitly?

unnivkn:
I don’t think so… that’s why usually we were able to write files in mountpoint rt? Looks like his pod has applied some security policies.

SAGAR RAJE:
Thank you @unnivkn