I recently uploaded very first beta of FBReader 2.0 (https://fbreader.org/) to the beta channel. I want to request automatic connection for access to some files in $HOME. The app is written using Qt6 and we use standard locations for config, app data (an sqlite database), and cache. The description looks as below:
plugs: home-data: interface: personal-files write: - $HOME/.local/share/FBReader.ORG Limited/FBReader - $HOME/.config/FBReader.ORG Limited - $HOME/.cache/FBReader.ORG Limited/FBReader apps: fbreader: command: bin/FBReader plugs: - desktop - desktop-legacy - network - network-bind - home - home-data - x11 environment: HOME: $SNAP_REAL_HOME
So I request auto-connection for home-data. It is safe, as the app only writes in it’s own catalogues and does not request any access to third-party files.
– Nikolay Pultsin, on behalf of FBReader.ORG Limited