[tor-relays] Restore tor exit node - file ownership

Felix zwiebel at quantentunnel.de
Sat Oct 27 07:02:52 UTC 2018


> On Friday, October 26, 2018 6:49 PM, <node47 at torsrv.de> wrote:
>> When I started the tor-service a new ed25519_signing_cert and
>> ed25519_signing_secret_key were generated as well as a new
>> fingerprint. The secret_* files still have the old timestamp
>> but new fingerprint had been created.

Am 27.10.2018 um 03:56 schrieb torix at protonmail.com:
> This happened to me as well this week.  I copied over the torrc
> and keys directory; I thought that was all I needed.  But I got a
> new fingerprint, so the relay is seen as new.
> Running Tor 0.3.4.8 on freeBSD.

Those files were 'copied' cp-ish ? Copy not cares for ownerships.
Tor generates files if tor can not find or can access them. Your
original files might be overwritten now.

On Freebsd it should be like:
# ls -alo /var/db/tor
-rw-------   1 _tor  _tor   - date/time fingerprint
... more files ...
drwx------   2 _tor  _tor   - date/time keys
# ls -alo /var/db/tor/keys/
-rw-------  1 _tor  _tor  - date/time secret_onion_key
... more files ...

chown can heal it:
# chown -R _tor:_tor /var/db/tor
# chown -R _tor:_tor /var/db/tor/keys

I hope I got your points.
Please check before you type, it's your world.

-- 
Cheers, Felix


More information about the tor-relays mailing list