Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 203323

Summary: net-analyzer/wireshark-0.99.7 tshark dumpcap incorrect perms
Product: Gentoo Linux Reporter: Rajiv Aaron Manglani (RETIRED) <rajiv>
Component: New packagesAssignee: Portage team <dev-portage>
Status: VERIFIED FIXED    
Severity: normal CC: netmon
Priority: High Keywords: InVCS
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 200044    

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.

thanks
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.