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

Document default cwd #29

Open
oxr463 opened this issue Jun 18, 2021 · 1 comment
Open

Document default cwd #29

oxr463 opened this issue Jun 18, 2021 · 1 comment
Assignees

Comments

@oxr463
Copy link
Contributor

oxr463 commented Jun 18, 2021

I changed it from . to /, because current work dir (.) may be outside the new root(/), and it is hard to detranslate path ..

Furthermore, the default cwd for chroot is also / instead of ..

sudo chroot / /bin/sh -c "pwd -P"
# The output is `/`

Originally posted by @KB5201314 in #28 (comment)

@oxr463 oxr463 added this to the v0.0.1 milestone Jun 18, 2021
@oxr463
Copy link
Contributor Author

oxr463 commented Jun 30, 2021

See: proot-me/proot#66 (comment)

@oxr463 oxr463 removed this from the v0.0.1 milestone Aug 10, 2021
@imlk0 imlk0 added this to the v0.0.1 milestone Aug 11, 2021
@oxr463 oxr463 removed this from the v0.1.0 milestone Aug 19, 2021
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

2 participants