-
Notifications
You must be signed in to change notification settings - Fork 2
Why does gradio need --filesystem=host acess? #8
Comments
You're right, there's no reason why Gradio should have access to everything. I have now limited access to "--filesystem=home". Gradio needs acess to import/export the library. |
Ugh
What exactly does the library refer to? |
@TingPing i know, it's better to use the flatpak FileChooser portal, than granting access to the complete home folder. I have to implement this.
The library (which contains the radio stations) itself lies under "/home/user/.var/app/de.haeckerfelix.gradio/.../gradio.db", which is fine. However the user can export the library to somewhere else, or import it from somewhere else. |
Personal suggestion, no |
Using GtkFileChooserNative is a very simple change. I suggest not worrying about permissions until that is implemented. |
Gradio uses GtkFileChooserNative now => We don't need require "--filesystem=home" anymore. |
I was wondering why this flatpak needs
--filesystem=host
access. That's a rather large portion of the sandbox to open. Gradio seems to run fine if you revoke--filesystem=host
acess.The text was updated successfully, but these errors were encountered: