-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to upload files from home directory #46
Comments
This is the intended behavior unfortunately. Having home access is a bit more dangerous than specific portals to the XDG directories and probably not necessary for everyone. If you absolutely need |
However, I've added a notification in the readme on github for anyone who runs into the same issue. |
I see, thanks for the info |
Can we either keep this issue open or put the README back up? |
I have the same issue as @Gadgetoid |
I was confused by this for so long until I remembered that I installed slack with flatpak..... |
Why can't we just have a "ask user for permission" dialog in that case? |
@Hoeze because we are not the developers of slack. |
@FakeShemp I mean as I understand this is a permission issue with Flatpak, right? Please excuse me if that's a dumb question, I'm not familiar with Flatpak from a dev's perspective :) |
It's not a dumb question, but Slack has no concept of Issues with how flatpak handles things will have to go to the flatpak repo. |
I installed Slack from the snap store with |
This github repo is about flatpak, not snap. |
@FakeShemp could you put the readme back up or at least pin this issue? Ideally that would be noted on the flathub page as well. Regular users will never understand this on their own, even me, maintainer of a small flatpak, forgot about this and wasted some time to figure it out. Is there a way to report this to Slack? They should at least fix their error message imo. Using File Portals would be the ideal solution. |
The best solution would be using file portals but until then at least change the ridiculous hint to zip it. |
Thank you for the pointers @jbarlow83 ! Worked like a charm for me. 🤗 |
@jbarlow83 it might be better for most people to only enable access to the home folder or perhaps stick to the already accessible folders when uploading. Granting full file system access is not necessary unless you want to upload system files. |
@sztomi I don't think this is wort reasoning about, in the average home directory there will be enough sensitive data that full file system access doesn't really make a difference IMO. Furthermore the Unix access restrictions will still apply and the flatpak hides or overlays some stuff even with full access. Users may run into problems again if they try to share files from USB drives or network mounts. In my experience from PDF Arranger, setting filesystem=host is the only user friendly option if you can't use file portals. |
The current sandbox permissions does not include
home
, which means that it is impossible to upload files from say~/workspace
. Only specific folders likeDocuments
orDownloads
are included in the permissions right now.Expected: That I can upload a file from
~/workspace
.Actual: Uploading fails with a message about the file type not being supported. If I move the file to
~/Documents
and retry, it works without problem.This is for drag and drop. If you instead try to use the file chooser, you won't be able to see or open all folders, only those currently covered in the filesystem sandbox permissions.
Suggested change:
I suggest that we replace
with
or simply add it to the current list.
The text was updated successfully, but these errors were encountered: