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

entry: convert hard link absolute paths to relative ones #248

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on May 28, 2021

  1. entry: convert hard link absolute paths to relative ones

    When unpacking a docker image, some hard links may be pointing to, say,
    /bin/gunzip. Those were failing the validate_inside_dst() check,
    preventing to unpack the image.
    
    Fix this by re-using the same logic as we are already using for actual
    files, removing the leading '/' from the link target path.
    
    We do this only if the absolute link is not an ancestor of the target
    dir as we want to support this use case according to the existing
    absolute_hardlink() test.
    Guillaume Desmottes committed May 28, 2021
    Configuration menu
    Copy the full SHA
    a36d2de View commit details
    Browse the repository at this point in the history