Wireshark permission issue
Tips: How to resolve Wireshark permission issue on mac
When freshly installed wireshark on mac, one may encoutered permission issue such as:
Can not create profile directory at $directory
Here’s something to try:
-
On your macbook, go to System Settings -> Privacy & Security -> Full Disk Access -> click “+” button and add Wireshark
-
Locate the $directory in the error message, check its owner and permission
ls -la $directory. Identify current userwhoami. Change the$directoryowner to the correct user usingsudo chown -R $user:$group $directory