Ask Your Question
0

where is the config file (MacOS)

asked 2020-11-08 20:47:08 +0000

0Kim0 gravatar image

I am unable to run Wireshark because I get an error message "Could not create profiles directory". I searched the questions and I think the problem is the ownership of the .config file.

I think this is the command I need: sudo chown <username:group> ~/.config so that I can change the owner from root to my own username. My problem is: I can find the config file. When I go to the terminal to try and run this command - with my user name obviously - I get an error "No such file or directory".

Where can I find the config file?

edit retag flag offensive close merge delete

Comments

You didn't run Wireshark as root, did you?

If so, don't do that. As section 3.1.1 of the Wireshark Developer's Guide says, "WIRESHARK CONTAINS OVER THREE MILLION LINES OF SOURCE CODE. DO NOT RUN THEM AS ROOT."

Guy Harris gravatar imageGuy Harris ( 2020-11-08 23:50:19 +0000 )edit

2 Answers

Sort by ยป oldest newest most voted
0

answered 2020-11-09 08:26:28 +0000

hugo.vanderkooij gravatar image

Mind you, if Wireshark hads no write access to the parent directory then this never gets created.

edit flag offensive delete link more
0

answered 2020-11-08 21:13:50 +0000

SYN-bit gravatar image

You can see where wireshark looks for your settings by going to "Wireshark" -> "About Wireshark" and then open the "Folders" tab. Then look for 'Personal configuration'.

On MacOS/linux, the personal configuration folder is usually the folder .config/wireshark in your home folder.

edit flag offensive delete link more

Comments

On MacOS/linux

...and all other UN*Xes...

Guy Harris gravatar imageGuy Harris ( 2020-11-08 23:45:57 +0000 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2020-11-08 20:47:08 +0000

Seen: 1,964 times

Last updated: Nov 09 '20