It seems rather pointless to put traceroute in a place only root can access it without referencing it directly, and making it setuid. If root is the only person intended to run it, it should not be setuid. However, traceroute is a valuable network tool that should be available to all users by default (without changing PATH). It would probably be best to just put the binary in /usr/bin. Reproducible: Always Steps to Reproduce: 1. su - 2. emerge traceroute 3. exit 4. traceroute Actual Results: illogical@cogburn ~ $ su - Password: cogburn ~ # emerge traceroute <snip!> >>> Merging net-analyzer/traceroute-1.4_p12-r5 to / * >>> SetUID: [chmod go-r] /var/tmp/portage/net-analyzer/traceroute-1.4_p12-r5/image//usr/sbin/traceroute ... [ ok ] --- /usr/ --- /usr/sbin/ >>> /usr/sbin/traceroute <snip!> cogburn ~ # exit logout illogical@cogburn ~ $ traceroute -bash: traceroute: command not found Expected Results: illogical@cogburn ~ $ traceroute Version 1.4a12 Usage: traceroute [-dFInrvx] [-g gateway] [-i iface] [-f first_ttl] [-m max_ttl] [ -p port] [-q nqueries] [-s src_addr] [-t tos] [-w waittime] [-z pausemsecs] host [packetlen] illogical@cogburn ~ $
Eh? Only root can access /usr/sbin? Since when? Try to run this w/o suid bit to understand why it's suid.
If you want this moved, move them all...
traceroute-2.0.8 now lives in /usr/bin/
Thank you sir.