-
Notifications
You must be signed in to change notification settings - Fork 489
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
Cannot remove/unlink symlink which has nonexistent target #165
Labels
Comments
I should say that I have used the |
Thanks for the report! This is expected behavior with |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Executing
ln -s nonexistent_file newlink
and laterrm newlink
orunlink newlink
works as expected on when executed in any local folder. However, if it is executed in an sshfs mount, the first command exits with an error:But a file is created anyway. It is listed as follows (
ls -la
):But if using
ls -la
on the remote machine, the link is listed correctly:The link can be removed on the remote via unlink or rm as expected, but it does not work when unlink or rm is executed locally in the mounted folder. In that case unlink (or rm) exits with the following message:
The text was updated successfully, but these errors were encountered: