-
Notifications
You must be signed in to change notification settings - Fork 46
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
rm -rf
on hardlink deletes original files
#34
Comments
rm -rf
on hardlink deletes original files
@ORESoftware this is the intended/desired behavior on All If your linux distro is deviating from this it is not following the Hardlinks and symlinks act differently. If you delete a Often with So yes, I can confirm deleting a |
@BenjaminHCCarr @selkhateeb is there a way to 'remove/undo the hardlink' without deleting the original files? Do you know if |
@BenjaminHCCarr: Unix standard? I don't think that's true. I don't know about FreeBSD, but both on my Linux box and my Macbook, deleting one of the references of a hard link (created with I'd love to get that functionality here too. |
This is a bit of a necropost, but I wanted to put this out there since this is coming up in Google searches.
|
It appears that
rm -rf
on hard link deletes original filesthis is dangerous and on Linux if you rm the hard link the original file is still intact.
Can you confirm / deny this behavior with your lib on MacOS?
The text was updated successfully, but these errors were encountered: