this post was submitted on 23 Aug 2023
16 points (94.4% liked)

Linux

48112 readers
655 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

RESOLVED: it was caused by the app being flatpak. use Flatseal!

I have a network drive mounted to my computer (PopOS). I have read & write access to everything in the drive and can drag and drop files between two Nautilus windows, but if I try to drag a file from the network drive into an email for example, I get a popup about file permissions. Is it because flatpak apps don't inherit my user permissions?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 7 points 1 year ago (1 children)

If the email application is a flatpak, then it might not have permission. You could use FlatSeal to provide access to the directory where your network share is mounted for that specific application.

[–] [email protected] 2 points 1 year ago (1 children)

Never heard of Flatseal before, that's awesome! I gave Mailspring access to the folder in /mnt/ and logged out, and it's working as expected now. Thank you!

[–] [email protected] 2 points 1 year ago (1 children)

It's a small thing that I think Flatpak is really missing. Drag and drop should just work, regardless of the permissions of the app, but it doesn't because what it feels like you are doing is different from what you are really doing doing. What you are really doing is simply pointing the app to where the files are that you want it to access, so I'm unsure how to fix that problem. I would love to see it fixed though, along with an open dialog that gives temporary permission to files.

[–] [email protected] 1 points 1 year ago

I suppose it might be doable; something could throw a pop-up that says "Flatpak app XYZ doesn't have access to this folder. Do you want to enable access for this folder only, or all files?"