Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 203323 - net-analyzer/wireshark-0.99.7 tshark dumpcap incorrect perms
Summary: net-analyzer/wireshark-0.99.7 tshark dumpcap incorrect perms
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
Keywords: InVCS
Depends on:
Blocks: 200044
  Show dependency tree
Reported: 2007-12-25 19:11 UTC by Rajiv Aaron Manglani (RETIRED)
Modified: 2007-12-30 19:58 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Rajiv Aaron Manglani (RETIRED) gentoo-dev 2007-12-25 19:11:11 UTC
installed net-analyzer/wireshark-0.99.7. the permissions on tshark and dumpcap do not allow execution by users in the wireshark group:

$ ls -l /usr/bin/tshark /usr/bin/dumpcap 
-r-s--s--- 1 root wireshark  50880 2007-12-25 13:10 /usr/bin/dumpcap
-r-s--s--- 1 root wireshark 162180 2007-12-25 13:10 /usr/bin/tshark

the permissions should include g+r.

Comment 1 Peter Volkov (RETIRED) gentoo-dev 2007-12-26 19:01:32 UTC
CC'ing portage team. Please, tell us why portage removes g-r bit:

 * >>> SetUID: [chmod go-r] /var/tmp/portage/net-analyzer/wireshark-0.99.7/image//usr/bin/dumpcap    [ ok ]
 * >>> SetUID: [chmod go-r] /var/tmp/portage/net-analyzer/wireshark-0.99.7/image//usr/bin/tshark  .  [ ok ]
 * >>> SetGID: [chmod o-r] /var/tmp/portage/net-analyzer/wireshark-0.99.7/image//usr/bin/dumpcap  .  [ ok ]
 * >>> SetGID: [chmod o-r] /var/tmp/portage/net-analyzer/wireshark-0.99.7/image//usr/bin/tshark  ..  [ ok ]
Comment 2 Zac Medico gentoo-dev 2007-12-28 11:06:10 UTC
It seems that the code just isn't smart enough to see that it's setting g-r on a setgid binary. I'll fix it.
Comment 3 Zac Medico gentoo-dev 2007-12-30 17:29:04 UTC
This has been released in 2.1.4_rc12.
Comment 4 Rajiv Aaron Manglani (RETIRED) gentoo-dev 2007-12-30 19:58:55 UTC
fixed. thanks.