[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #31968 [Applications/Tor Browser]: Use sudo if /proc/cpuinfo isn't readable in the start-tor-browser script
#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs