Skip to content

Error when syncing folder with symlink #58

@ghost

Description

Creating a hyperdrive which contains a soft link returns an error.

mkdir -p a/b
touch a/file.txt
(cd a/b; ln -s ../file.txt)
hyp sync a
# Syncing...
# Comparing...
# Error: Aborting file-tree comparison, a symlink or hardlink loop was detected at /b/file.txt

However it works when using a differently named symlink.

mkdir -p a/b
touch a/file.txt
(cd a/b; ln -s ../file.txt file2.txt)
hyp sync a
# Syncing...
# Synced

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions