Herick75 / Box4Droid

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't sanitize binding "ubuntu-fs" when starting box86

Miepee opened this issue · comments

commented

The install script works fine, but after trying to start box86 via start-box86, I get the following error:

ls: cannot access 'ubuntu-binds': No such file or directory
proot warning: can't sanitize binding 'ubuntu-fs': No such file or directory
fatal error: see `proot --help`.
commented

So it seems like it's failing with ls -A ubuntu-binds. Strangely enough, when I just execute that command normally, it returns an exit code of 0 (i.e. directory exists)
After further investigation, it seems to be because the script's PWD is where the script located (so in /data/data/com.termux/files/usr/bin instead of in ~). And there of course the ubuntu binds directory doesnt exist.
Now, is the script just missing a cd, or is the directory supposed to be at the script location?

Fixed