[tor-bugs] #20185 [Applications/Tor Browser]: Tor Browser alpha is broken on Linux (and probably OS X) if directory is nested too deep

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Sep 20 14:57:43 UTC 2016


#20185: Tor Browser alpha is broken on Linux (and probably OS X) if directory is
nested too deep
--------------------------------------+--------------------------
 Reporter:  gk                        |          Owner:  tbb-team
     Type:  defect                    |         Status:  new
 Priority:  High                      |      Milestone:
Component:  Applications/Tor Browser  |        Version:
 Severity:  Major                     |     Resolution:
 Keywords:                            |  Actual Points:
Parent ID:  #14270                    |         Points:
 Reviewer:                            |        Sponsor:
--------------------------------------+--------------------------

Comment (by mcs):

 Kathy and I were apparently lucky; our installation paths are fairly
 short.

 The longest Unix domain socket path that can be used on Linux is 108
 bytes. See:
 https://linux.die.net/man/7/unix

 On OSX, it is even shorter at 104 bytes:
 https://developer.apple.com/legacy/library/documentation/Darwin/Reference/ManPages/man4/unix.4.html

 Should we be placing the sockets in /tmp instead of in the tor data
 directory? I think we would need to create a subdirectory with
 sufficiently restrictive permissions (tor does some permission checks).

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


More information about the tor-bugs mailing list