[go: nahoru, domu]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

proot assumes write access to certain directories #93

Open
acornejo opened this issue Oct 14, 2015 · 2 comments
Open

proot assumes write access to certain directories #93

acornejo opened this issue Oct 14, 2015 · 2 comments

Comments

@acornejo
Copy link

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.

@wycats
Copy link
wycats commented Jan 13, 2016

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

@wycats
Copy link
wycats commented Jan 13, 2016

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants