Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] CapturePrivileges not working

From: Jeff Morriss <jeff.morriss.ws@xxxxxxxxx>
Date: Mon, 13 Oct 2014 10:07:41 +0200
What build system are you using?

If autofoo then remember dumpcap is actually a libtool shell script and Linux doesn't support setuid (and I'd guess also setcap) shell scripts. You'd need to put the permissions  on .libs/lt-dumpcap or whatever it is. 

On Monday, October 13, 2014, Roland Knall <rknall@xxxxxxxxx> wrote:
Hi

This might be a question for -users, but t seems, that the explanation on http://wiki.wireshark.org/CaptureSetup/CapturePrivileges does not seem to work anymore in Linux (running Mint 17, based on Ubuntu 14.04 LTS). 

I have set the dumpcap utility as defined the wiki-page, not using a group, and it does not work anymore, but has worked before.

Does anyone have an idea, what might have changed? The capabilities are indeed set. chmod 4750 does not work either. The only thing that seems to work is starting Wireshark as root. 

It works if I use wireshark from the original packages, but not if I run it from the build-directory.

regards,
Roland