<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-family:monospace"><br></div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Thu, Dec 26, 2024 at 12:57 PM Jim via PLUG-discuss <<a href="mailto:plug-discuss@lists.phxlinux.org">plug-discuss@lists.phxlinux.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Recently I installed Gnome on my computer running Kubuntu 24.04.1 so I <br>
could use Waydroid. The problem I'm having is getting access to the <br>
files in the Download directory on the Waydroid installation. The <br>
directory that I see as the internal storage is <br>
/home/delboy/.local/share/waydroid/data/0. From outside Waydroid, I <br>
couldn't access anything in that directory. Dolphin says it's empty. <br>
This was a problem as I wanted to use Dolphin to into or out of <br>
/home/delboy/.local/share/waydroid/data/0 or the directories under it. <br>
First i tried chmod +R 777 /home/delboy/.local/share/waydroid/data/0. <br>
Then I could see everything in that directory and add or delete files <br>
using Dolphin or a terminal window. After I started Waydroid again, I <br>
found out that it reset the permissions and I no longer had access to <br>
/home/delboy/.local/share/waydroid/data/0 outside of Waydroid. Looking <br>
around online, I found out about access control lists. I tried sudo <br>
setfacl -R -m "u:delboy:rwx" /home/delboy/.local/share/waydroid/data/0/ <br>
and it worked. After opening and using Waydroid again and shutting it <br>
down, I still had access to the files in that directory and those under <br>
it. However there remains one problem. New files that are downloaded <br>
under Waydroid, can be seen in Dolphin, but I can't open them in <br>
anything. I get an error message saying that file can't be found. I <br>
don't really like Gnome and prefer Plasma, so I have an Autostart script <br>
that runs each time I login to a Plasma session. it's sudo setfacl -R -m <br>
"u:delboy:rwx" /home/delboy/.local/share/waydroid/data/0/. This gives <br>
me the access to the directory I want, but I'm wondering if there's a <br>
better way to do this.<br></blockquote><div><br></div><div class="gmail_default" style="font-family:monospace">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.</div><div class="gmail_default" style="font-family:monospace">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.</div><div class="gmail_default" style="font-family:monospace"><br></div></div><div dir="ltr" class="gmail_signature"><div dir="ltr"><div>--<br></div><div>Arun Khan</div></div></div></div>