olivierkes / manuskript

A open-source tool for writers
http://www.theologeek.ch/manuskript
GNU General Public License v3.0
1.7k stars 226 forks source link

flatpak manuskript cannot open project stored in network folder #1279

Open richtw370 opened 5 months ago

richtw370 commented 5 months ago

I have the same folder with a manuskript project on my network server and on my mint linux 21.3 laptop. when I open the folder on the desktop and click on the .msk file the project is opened and I can see my information. When I open the folder on the server and click on the .msk file there is no error message, but the project that I see has no information

TheJackiMonster commented 5 months ago

That's the idea behind flatpak, isn't it? The application runs in a sandbox with limited permissions. You can see in a previous issue (#1277) that you can solve this on your own by giving the flatpak the required permission.

richtw370 commented 5 months ago

I am not sure the issue is flatpak sandboxing. I checked using flatseal and see that network permissions are granted. I also went ahead and granted every other possible permission. Still when opening project from network drive, no data comes back. As a further test I uninstalled the flatpak version and installed the .deb distribution using GDEBI. The open dialogue does not show "other locations" like flatpak version does and I am unable to get to the network server from the app (but I can use the file manager tool and "open with" to open the file in Manuskript and see the data). It feels like something is off in networking for this version??

TheJackiMonster commented 4 months ago

I would assume you still need the permission to access the whole filesystem, not just networking. Because by default the flatpak is restricted to files in your own home directory.