ubuntu系统运行WIreshark的时候,出现如下错误:
Couldn't run /usr/bin/dumpcap in child process: Permission denied
解决办法如下:
在终端执行下面四条命令:
sudo apt-get install libcap2-bin wireshark
sudo chgrp 电脑用户名 /usr/bin/dumpcap
sudo chmod 750 /usr/bin/dumpcap
sudo setcap cap_net_raw,cap_net_admin+eip /usr/bin/dumpcap