THIS IS A TEST INSTANCE. Feel free to ask and answer questions, but take care to avoid triggering too many notifications.
0

where is the config file (MacOS)

  • retag add tags

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?

0Kim0's avatar
1
0Kim0
asked 2020-11-08 20:47:08 +0000
edit flag offensive 0 remove flag 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's avatar Guy Harris (2020-11-08 23:50:19 +0000) edit
add a comment see more comments

2 Answers

0

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.

SYN-bit's avatar
18.5k
SYN-bit
answered 2020-11-08 21:13:50 +0000
edit flag offensive 0 remove flag delete link

Comments

On MacOS/linux

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

Guy Harris's avatar Guy Harris (2020-11-08 23:45:57 +0000) edit
add a comment see more comments
0

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

hugo.vanderkooij's avatar
76
hugo.vanderkooij
answered 2020-11-09 08:26:28 +0000
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer