Issue was reported by @Talkless https://github.com/bitcoin-core/gui/pull/379#issuecomment-888537173
Happens due to this line in ReadSettings
:
which treats a nonexisting file the same as an inaccessible file. It should be changed to treat any settings file that exists and is unreadable as an error.