[tor-bugs] #26913 [Core Tor/Tor]: DataDirectoryGroupReadable enabled does not have effect

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Aug 6 02:16:02 UTC 2018


#26913: DataDirectoryGroupReadable enabled does not have effect
-------------------------------------------------+-------------------------
 Reporter:  maha                                 |          Owner:  (none)
     Type:  defect                               |         Status:
                                                 |  needs_information
 Priority:  Medium                               |      Milestone:  Tor:
                                                 |  0.3.5.x-final
Component:  Core Tor/Tor                         |        Version:  Tor:
                                                 |  0.3.3.9
 Severity:  Normal                               |     Resolution:
 Keywords:  regression, 035-roadmap-proposed,    |  Actual Points:
  033-backport, 034-backport                     |
Parent ID:                                       |         Points:
 Reviewer:                                       |        Sponsor:
-------------------------------------------------+-------------------------
Changes (by teor):

 * keywords:  regression? 035-roadmap-proposed => regression, 035-roadmap-
     proposed, 033-backport, 034-backport


Comment:

 I like your second suggestion, because your first suggestion breaks
 compatibility with tools that expect CacheDirectory == DataDirectory.

 Just a minor tweak:

 When CacheDirectory is the same value as DataDirectory:
   * CacheDirectoryGroupReadable should default to
 DataDirectoryGroupReadable, and
   * If CacheDirectoryGroupReadable doesn't match
 DataDirectoryGroupReadable, log an error and exit.

 This fix handles torrcs that only set DataDirectory and
 DataDirectoryGroupReadable.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/26913#comment:3>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list