proot
proot copied to clipboard
proot assumes write access to certain directories
by using the P_tmpdir variable directly proot will not work in systems where /tmp is not writable, for instance, android.
There are various ways around this, but the easiest one would be for proot to read and pay attention to the TMPDIR environment variable. There is a patch readily available for this:
https://github.com/pelya/debian-noroot/blob/master/proot-android.patch
Could we get this included upstream? If it helps I can create a pull-request.
I hit this same issue. Am I crazy or does it seem wrong for P_tmpdir to ever produce a readonly directory?
@acornejo our of curiosity, what are the other workarounds?