Skip to content
This repository was archived by the owner on Jul 18, 2020. It is now read-only.
This repository was archived by the owner on Jul 18, 2020. It is now read-only.

Semi-relative paths in tar file #17

@kurtharriger

Description

@kurtharriger
  • tar xzf target/samza-streaming-0.1.1.tgz -C deploy/samza
    lib//Library/Java/JavaVirtualMachines/jdk1.7.0_75.jdk/Contents/Home/jre/../lib/tools.jar: Path contains '..'
    tar: Error exit delayed from previous errors

Should use .getCanonicalPath instead of .getAbsolutePath

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions