This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

Wireshark ~/.config permission problems under OS X 10.11.1 (El Capitan)

0

Wireshark 2.0 starts under El Capitan (OS X 10.11.1)but options are not will not function due to the following messsages: Could not open common recent file "/Users/rebeccapage/.config/wireshark/recent_common": Permission denied.

Could not open recent file "/Users/rebeccapage/.config/wireshark/recent": Permission denied.

Could not open recent file "/Users/rebeccapage/.config/wireshark/recent": Permission denied.

You don't have permission to read the file "init.lua".

Error loading table 'SMI Paths': Permission denied

Error loading table 'SMI Modules': Permission denied

Error loading table 'GeoIP Database Paths': Permission denied

Error loading table 'OID Tables': Permission denied

Error loading table 'Custom BootP/DHCP Options (Excl. suboptions)': Permission denied

Error loading table 'Force Decode by Channel': Permission denied

Error loading table 'Decryption Table': Permission denied

Error loading table 'Node bodytypes': Permission denied

Error loading table 'DMP Security Classifications': Permission denied

Error loading table 'DTLS RSA Keylist': Permission denied

Error loading table 'ESS Category Attributes': Permission denied

Error loading table 'Endpoint and Channel Configuration': Permission denied

Error loading table 'Custom HTTP Header Fields': Permission denied

Error loading table 'WEP and WPA Decryption Keys': Permission denied

Error loading table 'Static Addresses': Permission denied

Error loading table 'Custom IMF headers': Permission denied

Error loading table 'ESP SAs': Permission denied

Error loading table 'IKEv1 Decryption Table': Permission denied

Error loading table 'IKEv2 Decryption Table': Permission denied

Error loading table 'K12 Protocols': Permission denied

Error loading table 'LBMPDM-TCP tag definitions': Permission denied

Error loading table 'LBMR tag definitions': Permission denied

Error loading table 'LBT-RM tag definitions': Permission denied

Error loading table 'LBT-RU tag definitions': Permission denied

Error loading table 'LBT-TCP tag definitions': Permission denied

Error loading table 'Custom LDAP AttributeValue types': Permission denied

Error loading table 'Static LCID -> drb Table': Permission denied

Error loading table 'PDCP UE security keys': Permission denied

Error loading table 'PRES Users Context List': Permission denied

Error loading table 'Kind-ID Table': Permission denied

Error loading table 'SCCP Users Table': Permission denied

Error loading table 'Chunk types for the statistics dialog': Permission denied

Error loading table 'SNMP Users': Permission denied

Error loading table 'SNMP Enterprise Specific Trap Types': Permission denied

Error loading table 'SSL Decrypt': Permission denied

Error loading table 'User DLTs Table': Permission denied

Error loading table 'Bitstream Channel Table': Permission denied

Error loading table 'Pre-configured Keys': Permission denied

Error loading table 'ZigBee GP Security Keys': Permission denied

Error loading table 'Display Filter Macros': Permission denied

Error loading table 'Expert Info Severity Level Configuration': Permission denied

Error loading table 'Packet Lengths': Permission denied

Could not open your preferences file "/Users/rebeccapage/.config/wireshark/preferences": Permission denied.

Could not open your capture filter file "/Users/rebeccapage/.config/wireshark/cfilters": Permission denied.

Could not open your display filter file "/Users/rebeccapage/.config/wireshark/dfilters": Permission denied.

Could not open your disabled protocols file "/Users/rebeccapage/.config/wireshark/heuristic_protos": Permission denied.

Could not open recent file "/Users/rebeccapage/.config/wireshark/recent_common": Permission denied.

Could not open filter file "/Users/rebeccapage/.config/wireshark/colorfilters": Permission denied.

asked 30 Nov '15, 08:34

Boilermaker's gravatar image

Boilermaker
21224
accept rate: 0%

edited 30 Nov '15, 19:21

Guy%20Harris's gravatar image

Guy Harris ♦♦
17.4k335196

What do the commands

echo $HOME
ls -ld /Users/rebeccapage
ls -ld /Users/rebeccapage/.config/
ls -ld /Users/rebeccapage/.config/wireshark

print?

(30 Nov '15, 22:25) Guy Harris ♦♦

One Answer:

0

answered 30 Nov '15, 08:53

Christian_R's gravatar image

Christian_R
1.8k2625
accept rate: 16%

Yes, but the root permissions (sip) have changed in El Capitan, so I am asking for some help on how to bypass this issue so Wireshark can write into the .config directory

(30 Nov '15, 09:35) Boilermaker

Thnks, hat answer pertaining to OS X 10.10 and Wireshark 1.99 helped, but under OS X 10.11, the .wireshark directory must be made and its permissions changed to 755, then each of the other direcories and file must be created and permissions changed. Thans for the help

(30 Nov '15, 10:58) Boilermaker

So do I understand you right that the follwing config works for you?:

Directory .wireshark is 755
Directory profiles   is 755
Directory WLAN       is 755
File preferences     is 644
(30 Nov '15, 11:41) Christian_R

If they started with Wireshark 2.0, and had never used any version of Wireshark before that (or had never saved any preferences before running 2.0), there wouldn't be a .wireshark directory; see bug 6353.

If they already have a .wireshark directory created by an earlier version of Wireshark, 2.0 would try to read from that and save into that, so those errors shouldn't happen.

(30 Nov '15, 22:28) Guy Harris ♦♦