[tor-bugs] #17743 [Torsocks]: [torsocks] Detect elevated capability executables

Tor Bug Tracker & Wiki blackhole at torproject.org
Sun Dec 6 09:46:23 UTC 2015


#17743: [torsocks] Detect elevated capability  executables
----------------------+--------------------------------
 Reporter:  shawnl    |          Owner:  dgoulet
     Type:  defect    |         Status:  needs_revision
 Priority:  Medium    |      Milestone:
Component:  Torsocks  |        Version:
 Severity:  Normal    |     Resolution:
 Keywords:            |  Actual Points:
Parent ID:            |         Points:
  Sponsor:            |
----------------------+--------------------------------

Comment (by teor):

 Replying to [comment:5 shawnl]:
 > Sorry for my irrelevent comments. No, I do not know of an example where
 this is more relevent, but I still think it is a bug that should be fixed,
 which is why I wrote the patch.

 I agree it should be fixed. I'd just like to make sure that it works on as
 many systems as possible.

 Some systems, such as CentOS-6, install getcap in /usr/sbin.
 Other setups may have a custom install path.

 Can you please modify the patch to find getcap in the user's path, /sbin,
 or /usr/sbin?
 It would look something like:
 `local getcap=PATH="$PATH:/usr/sbin:/sbin" which getcap`

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


More information about the tor-bugs mailing list