this post was submitted on 05 Jan 2024
111 points (93.0% liked)

Selfhosted

60910 readers
1369 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 3 years ago
MODERATORS
 

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.

you are viewing a single comment's thread
view the rest of the comments
[–] henfredemars@infosec.pub 18 points 2 years ago (2 children)

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.

[–] KDE@monyet.cc 6 points 2 years ago (1 children)
[–] atzanteol@sh.itjust.works 13 points 2 years 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 4 points 2 years 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.