sergiusens / digikam

Snapcraft recipe for Digikam
0 stars 0 forks source link

Digikam on ubuntu/snap; can not select a directory on a mounted partition #1

Open plmi74 opened 3 years ago

plmi74 commented 3 years ago

Hi Sergio,

I installed Digikam with snap on Ubuntu 20.04.

My photos are not located on root, but on another partition. While adding a new collection, unfortunately Digikam can just see the root partition. If I download the appimage from the kde project, everything is fine, I can add my photos to the collection. Have I missed sth or is there a bug?

BR

sergiusens commented 3 years ago

Thanks for trying this out!

The snap makes use of a removable-media interface, which has certain restrictions on where that mount point can live https://snapcraft.io/docs/removable-media-interface.

This is just part of the story when using snaps, which I personally rather like (I can disconnect the interfaces I don't want software looking into).

plmi74 commented 3 years ago

Thanks for the quick answer.

I have set in fstab a new mountpoint, so it's working.

Is there a possibility to access mount points outside /media (or /mnt) folder?

sergiusens commented 3 years ago

Eventually with xdg-portals, but from what I heard, support for that is per-file only still. I intend to revisit this once it's possible to "share" directories with an application using portals.