Drag-and-drop support #20
Replies: 1 comment
-
This is a great solution if you need to drag/drop- but note that doing so would give access to anything on your If you physically drag/drop a file, it seems such an explicit action should give permission to the container to access the file. Android has a similar mechanism for granting file access. I wonder if an on-the-fly mount/mapping is supported in Podman or Docker, where the action of drag/dropping (or choosing a file or folder from a picker) grants access to the container to access those files/folders.. Does such a thing exist? I'm fairly new to containers so I'm not sure what's possible. Incidentally, if someone wants to not worry about isolation and just grant folders access as you suggest-- you can set this up using a First edit an
Then add something like this:
Run resolve like:
(in the
You can also put that Let me know if this works as a more "durable" solution! |
Beta Was this translation helpful? Give feedback.
-
I have drag-and-drop working on Gnome (i suspect it might work the same way on other DE). If you mount host /media to container /media and host /home to container /home, you can do drag-and-drop this way (if you do d&d over terminal, you can see that it drops the address of the file to the terminal - hence the idea).
it might prove messy, but if you cannot work without it, it can help. or at least it might be starting point...
Beta Was this translation helpful? Give feedback.
All reactions