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

question: chroot does not process path target ​​from symlink? #16

Open
gebv opened this issue Apr 25, 2021 · 0 comments
Open

question: chroot does not process path target ​​from symlink? #16

gebv opened this issue Apr 25, 2021 · 0 comments

Comments

@gebv
Copy link

gebv commented Apr 25, 2021

Chroot does not process path target ​​from symlink? It is normal behavior?

Follow concept code

baseDir := "/foo/bar"
fs := chroot.New(&billyFilesystemSomeImpl{}, baseDir)
// lrwxr-xr-x /foo/bar/lint-to-tmp -> /tmp
fs.Open("/foo/bar/link-to-tmp")
// opened without errors
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