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.
Linux
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
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
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!
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.
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?"
Not sure if this is related or not but when I was unable to open media files (that were stored on my SMB server) in VLC (also got permission denied) I solved it by installing "kio-fuse".
Hope you figure it out.
Thank you – Flatseal fixed the problem!
What protocol are you using? How are you mounting the drive?
The drive is NFS, on a Debian machine. I mounted it with a simple "mount" command into /mnt/