flathub/org.wireshark.Wireshark

Can't save preferences

Opened this issue · 1 comments

On the front page, click the "All interfaces shown" drop-down, and deselect one of the item.

You'll get a dialogue saying:

Can't open preferences file
"/home/hadess/.wireshark/preferences": Read-only filesystem

And throwing the same error for the recent and recent_common files.

The best way to fix this would be for Wireshark to migrate existing configuration to the (hopefully default) XDG location, and not use the legacy configuration paths.

Moving ~/.wireshark away also works...

Move config to XDG location:

Copy code

mkdir -p ~/.config/wireshark
mv ~/.wireshark/* ~/.config/wireshark/
rm -r ~/.wireshark

Check and fix filesystem permissions:

Copy code

sudo mount -o remount,rw /home
chmod -R u+rw ~/.config/wireshark
Restart Wireshark.