zocker-160 / SyncThingy

SyncThingy = Syncthing + simple tray indicator
GNU General Public License v3.0
129 stars 1 forks source link

cannot access other flatpak programs data from the flatpak release - permissions issue? #20

Closed BrainDamage closed 1 year ago

BrainDamage commented 1 year ago

I'd like to use syncthing to syncronize my games' save progress between multiple machines using the flatpak release of syncthingy; the problem is that they are flatpak programs on their own. I attempt to add eg ~/.var/app/packagename/data/ to the syncronized paths, except that syncthing reports the path as empty. If I bind-mount the paths externally they become visible and writeable, but this is extremely awkward and impractical to use. I assume this is all because syncthingy has no permissions to read/write into other flatpak path programs?

zocker-160 commented 1 year ago

Yes this is a permission issue on the Flatpak side.

Can you try adding ~/.var/app and xdg-data/flatpak to the filesystem permissions using Flatseal?

Don't forget to restart Synthingy to make the changes apply.

BrainDamage commented 1 year ago

Adding the permissions using flatseal fixed the issue. Thanks!