Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 5 product line. The current stable release is 5.10. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 621394

Summary: can't delete symlink to other filesystem
Product: Red Hat Enterprise Linux 5 Reporter: ritz <rkhadgar>
Component: gnome-vfs2Assignee: Tomáš Bžatek <tbzatek>
Status: CLOSED ERRATA QA Contact: desktop-bugs <desktop-bugs>
Severity: high Docs Contact:
Priority: high    
Version: 5.5CC: jhird, ktoyama, tsmetana, vbenes
Target Milestone: rcKeywords: Patch
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: gnome-vfs2-2.16.2-9.el5 Doc Type: Bug Fix
Doc Text:
Cause: Bad test checking for destination filesystem Consequence: Nautilus can't delete a symlink to a folder which is on another filesystem Fix: A special test has been put in place Result: User can now properly trash/delete symlink poiting to a foreign filesystem
Story Points: ---
Clone Of:
: 980104 (view as bug list) Environment:
Last Closed: 2013-01-08 05:14:51 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:
Bug Depends On:    
Bug Blocks: 743405, 807971, 980104    
Attachments:
Description Flags
patch based on upstream code none

Description ritz 2010-08-04 22:28:25 UTC
Created attachment 436691 [details]
patch based on upstream code

Please describe the problem:
Nautilus can't delete a symlink to a folder which is on another filesystem

Steps to reproduce:
1. open in nautilus /mnt/somethink-mounted
2. open your home in another nautilus
3. create a symlink of /mnt/somethink-mounted in your home
4. try to delete the link


Actual results:
first i've got a message like "can't delete other filesystem" but now when I try
to reproduce, delete (or "moving to trash") just do nothing. symlink isn't
deleted and nautilus doesn't send any error.

Expected results:
symlink shoud be deleted

Does this happen every time?
yes

Additional information:
https://bugzilla.gnome.org/show_bug.cgi?id=312506

Comment 1 Tomáš Bžatek 2010-08-09 14:35:39 UTC
Confirming, works fine with the patch attached. Seems to fix also bug 598486.

Comment 4 RHEL Program Management 2011-05-31 14:44:10 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated in the
current release, Red Hat is unfortunately unable to address this
request at this time. Red Hat invites you to ask your support
representative to propose this request, if appropriate and relevant,
in the next release of Red Hat Enterprise Linux.

Comment 7 RHEL Program Management 2011-09-23 00:37:46 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated in the
current release, Red Hat is unfortunately unable to address this
request at this time. Red Hat invites you to ask your support
representative to propose this request, if appropriate and relevant,
in the next release of Red Hat Enterprise Linux.

Comment 11 RHEL Program Management 2012-04-02 10:44:13 UTC
This request was evaluated by Red Hat Product Management for inclusion
in a Red Hat Enterprise Linux release.  Product Management has
requested further review of this request by Red Hat Engineering, for
potential inclusion in a Red Hat Enterprise Linux release for currently
deployed products.  This request is not yet committed for inclusion in
a release.

Comment 14 Tomáš Bžatek 2012-07-19 12:46:35 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Cause: Bad test checking for destination filesystem

Consequence: Nautilus can't delete a symlink to a folder which is on another filesystem

Fix: A special test has been put in place

Result: User can now properly trash/delete symlink poiting to a foreign filesystem

Comment 18 errata-xmlrpc 2013-01-08 05:14:51 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHSA-2013-0131.html