I have installed Zotero-snap in Ubuntu 20.04.
When I try to update Zotero, or when I try to browse to change the default PDF viewer in Zotero, I get a permission denied error. Check this image:
The permissions of some important directories is shown below:
I have even turned on the permission to read and write on removable storage devices for the app as shown below:
Trying to run Zotero with sudo gives me the following error:
What am I missing? What should I do to resolve this issue?
Posting my above comment as an answer as apparently, this comes up for others, too:
The Snap package should disable updating from within the app -- as per its documentation, in-app update isn't supported (see snapcraft.io/zotero-snap) and handle updates itself. Given that it's also not up to date with Zotero, I'd recommend using the deb/aptitude package here, which is very reliable.
Alternatively, you can directly download the tarball from Zotero, unpack it to a convenient location such as
~/.local/bin
(make sure you have write access to the location with your regular user account -- otherwise, you'll run into the same issue again) and just run Zotero from the terminal.Since the deb package basically does the same thing and handles dependencies and creates the launcher, I'd go for that in almost all cases.