Issues when removing a symbolic link pointing to a directory
dclong opened this issue · 2 comments
dclong commented
When removing a symbolic link pointing to a directory, I expect rip
to behave like rm
which remove the symbolic link itself. However, rip
removes the physical directory instead.
nivekuil commented
Can't repro on linux, it does and should just delete the symlink. Can you give more information about your setup?
Sep 1, 2021 7:19:46 PM Ben Chuanlong Du ***@***.***>:
… When removing a symbolic link pointing to a directory, I expect *rip* to behave like *rm* which remove the symbolic link itself. However, *rip* removes the physical directory instead.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub[#24], or unsubscribe[https://github.com/notifications/unsubscribe-auth/ABDLDWFB7VCBTD7ARHBP3HTT73NMBANCNFSM5DH32BAQ].
Triage notifications on the go with GitHub Mobile for iOS[https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675] or Android[https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub]. [data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFQAAABUCAYAAAAcaxDBAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAAySURBVHic7cEBDQAAAMKg909tDjegAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAeDVulAABbzDScQAAAABJRU5ErkJggg==###24x24:true###][Tracking image][https://github.com/notifications/beacon/ABDLDWDDY6QTTEPPC76ERWTT73NMBA5CNFSM5DH32BA2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4OWFA2BQ.gif]
dclong commented
I was working in a Ubuntu environment via Docker. It's odd. Seems that I couldn't reproduce it. Let's close this issue at this time. If it happens again, I will reopen it with more details.