[tor-bugs] #31968 [Applications/Tor Browser]: Use sudo if /proc/cpuinfo isn't readable in the start-tor-browser script
Tor Bug Tracker & Wiki
blackhole at torproject.org
Fri Oct 4 15:25:40 UTC 2019
#31968: Use sudo if /proc/cpuinfo isn't readable in the start-tor-browser script
-------------------------+------------------------------------------
Reporter: cypherpunks | Owner: tbb-team
Type: enhancement | Status: new
Priority: Medium | Component: Applications/Tor Browser
Version: | Severity: Normal
Keywords: | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor:
-------------------------+------------------------------------------
On Linux, the start-tor-browser script checks for SSE2 support by grepping
/proc/cpuinfo. On some systems, /proc/cpuinfo isn't readable to ordinary
users (Whonix may implement this) so it will fail with an error saying
"Tor Browser requires a CPU with SSE2 support.".
It would be better if the script checked if the file is not readable and
if it isn't, it tries to grep it with `sudo --noninteractive` so people
can add sudoers exceptions for the Tor Browser.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/31968>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list