$telnet localhost 9051
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
authenticate "xxxxxxx"
250 OK
getconf controlport
250 ControlPort=9051
resetconf controlport
250 OK
getconf controlport
250 ControlPort
setconf controlport=9051
250 OK
saveconf
551 Unable to write configuration to disk.
setconf nickname=testnickname
250 OK
saveconf
551 Unable to write configuration to disk.
Whenever I try to execute the saveconf
command it returns an error. I checked the torrc file. It is not getting saved in that too. What could be the reason? How to solve this?
Does the tor user have write permission to its torrc location? Permission gotcha would be the first thing I'd suspect. You can get the location with 'GETINFO config-file'.