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

Bubblewrap leaks $PWD #26

Open
leeming opened this issue Oct 21, 2016 · 0 comments
Open

Bubblewrap leaks $PWD #26

leeming opened this issue Oct 21, 2016 · 0 comments

Comments

@leeming
Copy link
Contributor

leeming commented Oct 21, 2016

Host $PWD is reported as an "out" environment variable from the sandbox

eg.

exit, out, err = sandboxlib_executor.run_sandbox(['env'], env={'foo': 'bar'})

returns

foo=bar
PWD=/tmp/sandboxlib

Where '/tmp/sandboxlib' is the directory where the sandboxlib is run from

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

No branches or pull requests

1 participant