mac下用Wireshark抓包报错you don't have permission to capture on that device

cd /dev
ls -la | grep bp

看到用户组所属

crw-------   1 root       wheel           23,   0  6 23 23:42 bpf0
crw-------   1 root       wheel           23,   1  6 23 23:42 bpf1
crw-------   1 root       wheel           23,   2  6 23 23:43 bpf2
crw-------   1 root       wheel           23,   3  6 23 23:42 bpf3

这样导致上述没有权限问题,需要手动修改,确保所有列表有你的用户名和admin作为用户组。

whoami 命令看你当前用户名
sudo chown 上面看到的用户名:admin bp*

参考:

相关文章:

  • 2021-11-27
  • 2021-08-03
  • 2022-01-12
  • 2021-12-20
  • 2021-11-27
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-07-25
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案