File permissions on mounted drive - can read/write but can't drag into apps?
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?
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.
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.
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".