Mac安装wireshark抓包You don’t have permission to read the file问题记录

我在Mac上安装wireshark后发现报下面的权限错误,原因是我电脑上有几个用户,而我不是最开始创建的那个,解决方法如下,在终端输入:

sudo chown zmfflying:group ~/.config

注意:zmfflying是我的用户名,要换成自己的

具体错误如下

Could not create profiles directory”/Users/zmfflying/.config/wireshark”

Could not open common recent file”/Users/zmfflying/.config/wireshark/recent_common”: Permission denied.

Could not open recent file”/Users/zmfflying/.config/wireshark/recent”: Permission denied.

You don’t have permission to read the file “hosts”.

You don’t have permission to read the file “subnets”.

You don’t have permission to read the file “subnets”.

You don’t have permission to read the file “ss7pcs”.

You don’t have permission to read the file “init.lua”.

还要没有录屏权限的bug:you don’t have permission to capture on that device mac,看下面链接

https://blog.csdn.net/shaobo8910/article/details/73851177

https://www.jianshu.com/p/7685f23abdbb

介绍过滤条件的:

https://blog.csdn.net/wojiaopanpan/article/details/69944970

自己总结的:
命令: rvictl -s 设备的uuid

过滤条件 ip.src == 192.168.8.40 && ip.dst == 118.89.218.99 && http (判断来源,判断服务器地址,判断只要http)

然后选中一条记录,右击 -> 追踪流 -> http流 -> 右下角,显示和保存数据为,选择utf-8

你可能感兴趣的:(Mac安装wireshark抓包You don’t have permission to read the file问题记录)