I spent two hours today trying to figure out why Nextcloud couldn’t read my data directory. Docker wasn’t mounting my data directory. Moved everything into my data directory. Docker couldn’t even see the configuration file.

Turns out the Docker Snap package only has access to files under the /home directory.

Moral of the story: never trust a Snap package.

    • henfredemars@infosec.pub
      link
      fedilink
      English
      arrow-up
      18
      ·
      11 months ago

      Proprietary when flatpak exists, and it doesn’t properly address how apps should dynamically request access to things they need. Every time I’ve used either solution I’ve run into some permissions problem.

        • atzanteol@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          14
          ·
          11 months ago

          For desktop apps maybe. How do you run a flatpak from the cli? “flatpak run org.something.Command”. Awesome.

          Both suffer from not making it obvious what directories your application can access and not providing a clear message when you try to access files it can’t. The user experience sucks.

      • lemmyng@lemmy.ca
        link
        fedilink
        English
        arrow-up
        5
        arrow-down
        1
        ·
        11 months ago

        The one thing snap does that flatpak doesn’t is provide CLI applications. But then nix also does that, so snap can go pound salt.