Bug 1293516
Summary: | rm-rf can not delete files and dirs in symbolic link dir | ||
---|---|---|---|
Product: | [Community] Virtualization Tools | Reporter: | Xianghua Chen <xchen> |
Component: | libguestfs | Assignee: | Richard W.M. Jones <rjones> |
Status: | NEW --- | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | unspecified | CC: | leiwang, ptoscano, wshi |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | Type: | Bug | |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Xianghua Chen
2015-12-22 02:15:13 UTC
How reproducible: 100% The one line reproducer for this is: guestfish -N fs -m /dev/sda1 mkdir /dir : ln-s /dir/ /link : touch /link/file1 : mkdir /link/subdir : glob rm-rf /link/* : ls /link/ Upstream, this also fails (ie. the final 'ls' prints out the two files which are supposed to have been deleted). OT: It would be very helpful if you could concentrate on testing RHEL 7.3 and/or upstream, since libguestfs in RHEL 6 is mostly in maintenance mode. We're only making very important fixes to RHEL 6, and so bugs like this will just be closed / WONTFIX, not because they are not bugs, but because they are not very serious for RHEL 6. It is for this reason that I'm moving this bug to upstream. Yeah, I'll trace this bug upstream. I also have reproduced this bug on Fedora 23 with libguestfs-1.30.5-2.fc23.x86_64, it failed too. |