Opened 4 years ago

Last modified 2 years ago

#18134 new defect

tor issues missleading permission warning when torrc overrides User config directive of default torrc

Reported by: cypherpunks Owned by:
Priority: Low Milestone: Tor: unspecified
Component: Core Tor/Tor Version:
Severity: Normal Keywords: easy, warning, setuid, permissions, logs, tor-relay, usability
Cc: tyseom Actual Points:
Parent ID: Points: 1
Reviewer: Sponsor:

Description

Tor issues the follwoing warn loglevel entry when it starts even though permissions are fine (drwx------):

[warn] Fixing permissions on directory <datadir>

this occurs only if the torrc overrides the default-torrc's User parameter
besides this warn loglevel tor runs fine nonetheless.

warning is issued with:

tor --runasdaemon 0 --defaults-torrc /usr/share/tor/defaults-torrc -f torrc 

no warning with:

tor --runasdaemon 0 -f torrc 

both (defaults-torrc and torrc) specify a User config parameter.

Child Tickets

Change History (14)

comment:1 Changed 4 years ago by tyseom

Cc: tyseom added
Summary: tor issues missleading permission warning when torrc overrides User config directive of defaulttor issues missleading permission warning when torrc overrides User config directive of default torrc

comment:2 Changed 4 years ago by teor

Keywords: easy warning added

comment:3 Changed 4 years ago by nickm

Milestone: Tor: 0.2.8.x-final

comment:4 Changed 4 years ago by nickm

Priority: MediumLow

comment:5 Changed 4 years ago by nickm

Points: small

comment:6 Changed 4 years ago by nickm

Keywords: must-fix-before-028-rc added

Marking these as must-fix-before-028-rc.

Actually, some of them may not need to get 'fixed' before the rc, but I believe that they should either get fixed, or we should have a good explanation of why they don't need to get fixed.

comment:7 Changed 4 years ago by nickm

Keywords: must-fix-before-028-rc removed
Milestone: Tor: 0.2.8.x-finalTor: 0.2.9.x-final

comment:8 Changed 4 years ago by isabela

Points: small1

comment:9 Changed 3 years ago by isabela

Keywords: isaremoved added
Milestone: Tor: 0.2.9.x-finalTor: 0.2.???

comment:10 Changed 3 years ago by teor

Milestone: Tor: 0.2.???Tor: 0.3.???

Milestone renamed

comment:11 Changed 3 years ago by nickm

Keywords: tor-03-unspecified-201612 added
Milestone: Tor: 0.3.???Tor: unspecified

Finally admitting that 0.3.??? was a euphemism for Tor: unspecified all along.

comment:12 Changed 3 years ago by nickm

Keywords: tor-03-unspecified-201612 removed

Remove an old triaging keyword.

comment:13 Changed 3 years ago by nickm

Keywords: isaremoved removed

comment:14 Changed 2 years ago by nickm

Keywords: setuid permissions logs tor-relay usability added
Note: See TracTickets for help on using tickets.