Bug 120130
Summary: | rm cannot unlink symlinks to directories | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Albert Strasheim <13640887> |
Component: | coreutils | Assignee: | Tim Waugh <twaugh> |
Status: | CLOSED NOTABUG | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2004-04-07 08:56:14 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Albert Strasheim
2004-04-06 10:09:52 UTC
[tim@cyberelk k]$ ln -s / foo; rm foo [tim@cyberelk k]$ ln -s / foo; rm -f foo [tim@cyberelk k]$ ln -s / foo; rm -rf foo [tim@cyberelk k]$ ln -s / foo; rm -f foo [tim@cyberelk k]$ ln -s / foo; rm -r foo [tim@cyberelk k]$ rpm -q coreutils coreutils-5.2.1-3 'foo' != 'foo/' -- you are forcing the dereference yourself by adding '/'. |