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

Canonical should accept non-existing paths #73

Open
kriskowal opened this issue Dec 11, 2013 · 0 comments
Open

Canonical should accept non-existing paths #73

kriskowal opened this issue Dec 11, 2013 · 0 comments
Assignees

Comments

@kriskowal
Copy link
Owner

The reroot implementation assumes that canonical will expand any symbolic links along a path, but will just normalize any trailing terms that do not exist.

Canonical will need to be reimplemented in terms of lstat and realpath.

Alternately, reroot may need to be reimplemented in terms of the existing canonical. reroot needs to be weary of relative paths that would escape the jail.

@kriskowal kriskowal self-assigned this May 29, 2014
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