proot icon indicating copy to clipboard operation
proot copied to clipboard

proot assumes write access to certain directories

Open acornejo opened this issue 10 years ago • 2 comments

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.

acornejo avatar Oct 14 '15 06:10 acornejo

I hit this same issue. Am I crazy or does it seem wrong for P_tmpdir to ever produce a readonly directory?

wycats avatar Jan 13 '16 07:01 wycats

@acornejo our of curiosity, what are the other workarounds?

wycats avatar Jan 13 '16 07:01 wycats