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

Error when syncing folder with symlink #58

Open
ghost opened this issue Feb 8, 2022 · 0 comments
Open

Error when syncing folder with symlink #58

ghost opened this issue Feb 8, 2022 · 0 comments

Comments

@ghost
Copy link

ghost commented Feb 8, 2022

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
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

0 participants