Skip to content

tar2ext4 refuses to create hard links to symlinks #1120

@alyssais

Description

@alyssais

When trying to use tar2ext4, I get the error "link target cannot be a directory or symlink".

But while hard links to directories are invalid, it's entirely valid have a hard link to a symlink on Linux. ln even has a dedicated flag for it: -P.

So tar2ext4 should only check whether the target is a directory, not whether it's a symlink.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions