[tor-bugs] #21088 [Core Tor/Torsocks]: Hide getcap error message in torsocks

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Dec 27 12:15:20 UTC 2016


#21088: Hide getcap error message in torsocks
-----------------------------------+---------------------
     Reporter:  segfault           |      Owner:  dgoulet
         Type:  enhancement        |     Status:  new
     Priority:  Low                |  Milestone:
    Component:  Core Tor/Torsocks  |    Version:
     Severity:  Minor              |   Keywords:
Actual Points:                     |  Parent ID:
       Points:                     |   Reviewer:
      Sponsor:                     |
-----------------------------------+---------------------
 Since torsocks 2.2.0, torsocks calls getcap on the file to be executed.
 For filesystems which don't support file capabilities, this results in an
 error message being printed to stderr, e.g.:

 {{{Failed to get capabilities of file `/usr/bin/git' (Operation not
 supported)}}}

 This message is not really useful to the user. Maybe it should be hidden.

 This affects Tails: https://labs.riseup.net/code/issues/12091

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


More information about the tor-bugs mailing list