caprine icon indicating copy to clipboard operation
caprine copied to clipboard

~/.config/Caprine/caprine.json is world-writable

Open mesaprotector opened this issue 1 year ago • 0 comments

On Linux, Caprine creates its settings file (settings.json) with 666 permissions, allowing any user to modify the data. Perhaps there is some very good reason for this, but likely it should use 644 (-rw-r--r--), meaning that only the user whose home directory the settings file is in can modify it.

If changed to 644 manually, Caprine will set it back to 666.

mesaprotector avatar Dec 23 '24 18:12 mesaprotector