Tor file ' torrc' is read-only and can't seem to change it

Hi there,

Have a Raspberry Pi 3+ and installed Tor (on my hassbian installation) according to: https://www.home-assistant.io/docs/ecosystem/tor/. Then I wanted to edit the file ’ torrc’ according to these instructions but then it says (in vi editor, tried to change this via SSH) this file is read-only. Then I tried to change this via command ’ chmod 755’ but then I got the response that I was not allowed to perform this operation. Can you please help how to fix this?

Thanks,
Hans

The file is owned by root so you need to use sudo to modify it.

Thanks gpbenton, also for explaining, that works

1 Like