Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Prototype-X/db9a3c68d68b2639b74c9e424a2e9576 to your computer and use it in GitHub Desktop.
Save Prototype-X/db9a3c68d68b2639b74c9e424a2e9576 to your computer and use it in GitHub Desktop.
Fix for "couldn't run /usr/bin/dumpcap in child process: permission denied"
sudo dpkg-reconfigure wireshark-common #Select "Yes"
chmod +x /usr/bin/dumpcap
sudo setcap 'CAP_NET_RAW+eip CAT_NET_ADMIN+eip' /usr/bin/dumpcap
or
`sudo setcap 'CAP_NET_RAW+eip CAT_NET_ADMIN+eip' $(which dumpcap)'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment