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

[android, question] Mounted in chroot is not visible outside #1685

Closed
oczkers opened this issue Sep 15, 2017 · 5 comments
Closed

[android, question] Mounted in chroot is not visible outside #1685

oczkers opened this issue Sep 15, 2017 · 5 comments
Labels

Comments

@oczkers
Copy link

oczkers commented Sep 15, 2017

I've successfully mounted gdrive in gentoo chroot but it is not visible outside chroot environment, any ideas what's the cause?

@ncw
Copy link
Member

ncw commented Sep 16, 2017

You probably need --allow-other in the options

@ncw ncw added the question label Sep 16, 2017
@oczkers
Copy link
Author

oczkers commented Sep 16, 2017

I've tried it but no luck - folder is empty even when listing as a root outside chroot

@ncw
Copy link
Member

ncw commented Sep 17, 2017

If you want to list as root then you need --allow-root too IIRC

@ncw
Copy link
Member

ncw commented Jan 23, 2020

I'm going to close this now as I haven't heard from you for a while.

@ncw ncw closed this as completed Jan 23, 2020
@mirfatif
Copy link

mirfatif commented Aug 14, 2020

It's due to Android's isolated mount namespaces for every app. Make sure to be in root/global mount namespace before mounting. Use, e.g. su -M or nsenter -t 1 -m. Details: https://android.stackexchange.com/q/197959/218526

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

No branches or pull requests

3 participants