You are not logged in.
Hi,
Recently I've tried to install wireshark. I wanted to use it from my everyday user. However I encountered a problem during the installation
Failed to set capabilities on file `/usr/bin/dumpcap' (Operation not supported)
usage: setcap [-q] [-v] (-r|-|<caps>) <filename> [ ... (-r|-|<capsN>) <filenameN> ]
Note <filename> must be a regular (non-symlink) file.After installation I added my user to wireshark group.
So first thing I did was checking if /usr/bin/dumpcap is not a symlink to something else but it isn't.
Then I went to the wireshark page which gave me this solution:
setcap 'CAP_NET_RAW+eip CAP_NET_ADMIN+eip' /usr/bin/dumpcapBut it gives the same error. I figured out a simple workaround. I gave dumpcap a +s bit.
But I'd like to know if it's secure or is there a better way of doing this?
Last edited by xartii (2012-09-07 11:01:47)
Offline
Oh, silly me. I forgot to compile the capabilities support for ext4 in my custom kernel. Topic may be closed.
And also if any mod feels it's in a wrong category it may be transferred.
Thanks,
xartii
Offline