waydroid
Arun Khan
knura9 at gmail.com
Thu Dec 26 15:17:37 MST 2024
On Thu, Dec 26, 2024 at 12:57 PM Jim via PLUG-discuss <
plug-discuss at lists.phxlinux.org> wrote:
> Recently I installed Gnome on my computer running Kubuntu 24.04.1 so I
> could use Waydroid. The problem I'm having is getting access to the
> files in the Download directory on the Waydroid installation. The
> directory that I see as the internal storage is
> /home/delboy/.local/share/waydroid/data/0. From outside Waydroid, I
> couldn't access anything in that directory. Dolphin says it's empty.
> This was a problem as I wanted to use Dolphin to into or out of
> /home/delboy/.local/share/waydroid/data/0 or the directories under it.
> First i tried chmod +R 777 /home/delboy/.local/share/waydroid/data/0.
> Then I could see everything in that directory and add or delete files
> using Dolphin or a terminal window. After I started Waydroid again, I
> found out that it reset the permissions and I no longer had access to
> /home/delboy/.local/share/waydroid/data/0 outside of Waydroid. Looking
> around online, I found out about access control lists. I tried sudo
> setfacl -R -m "u:delboy:rwx" /home/delboy/.local/share/waydroid/data/0/
> and it worked. After opening and using Waydroid again and shutting it
> down, I still had access to the files in that directory and those under
> it. However there remains one problem. New files that are downloaded
> under Waydroid, can be seen in Dolphin, but I can't open them in
> anything. I get an error message saying that file can't be found. I
> don't really like Gnome and prefer Plasma, so I have an Autostart script
> that runs each time I login to a Plasma session. it's sudo setfacl -R -m
> "u:delboy:rwx" /home/delboy/.local/share/waydroid/data/0/. This gives
> me the access to the directory I want, but I'm wondering if there's a
> better way to do this.
>
I understand Waydroid runs in a container. I am not surprised it locks its
own local file space when it is running. I don't understand your use case.
Nevertheless, the ChatGPT search string "Linux sharing files between host
and containers" gives a few solutions for sharing files between the host OS
and containers.
--
Arun Khan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phxlinux.org/pipermail/plug-discuss/attachments/20241226/37631fef/attachment.htm>
More information about the PLUG-discuss
mailing list