Bug 580855 - Cannot delete folder contents if the name of the folder contains spaces
Summary: Cannot delete folder contents if the name of the folder contains spaces
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: gnome-vfs2
Version: 5.5
Hardware: All
OS: Linux
urgent
urgent
Target Milestone: rc
: ---
Assignee: Tomáš Bžatek
QA Contact: Desktop QE
URL:
Whiteboard:
: 579502 (view as bug list)
Depends On:
Blocks: 589874 807971
TreeView+ depends on / blocked
 
Reported: 2010-04-09 09:30 UTC by Huzaifa S. Sidhpurwala
Modified: 2018-10-27 13:41 UTC (History)
12 users (show)

Fixed In Version: gnome-vfs2-2.16.2-7.el5
Doc Type: Bug Fix
Doc Text:
Technical information could be found in the description of previously released RHBA-2010:0436-1 erratum.
Clone Of:
Environment:
Last Closed: 2013-01-08 05:14:35 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
screenshot (129.58 KB, image/png)
2010-04-09 09:34 UTC, Huzaifa S. Sidhpurwala
no flags Details
gnome-vfs-2.16.2-same-fs.patch (8.12 KB, patch)
2010-04-15 16:02 UTC, Tomáš Bžatek
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
CentOS 4322 0 None None None Never
Red Hat Product Errata RHSA-2013:0131 0 normal SHIPPED_LIVE Low: gnome-vfs2 security and bug fix update 2013-01-08 09:46:11 UTC

Description Huzaifa S. Sidhpurwala 2010-04-09 09:30:21 UTC
Description of problem:
In RHEL 5.5 fully updated, When you have a folder name with spaces, any files inside it cannot be deleted.

Version-Release number of selected component (if applicable):
RHEL 5.5 32 bit fully updated.
nautilus-2.16.2-7.el5

How reproducible:
Always

Steps to Reproduce:
1. Create a folder called "my folder" for what ever name, but has to have
spaces in between the words
2. Create a file inside that
3. Delete that file. It cannot be deleted
  
Actual results:
File cannot be deleted

Expected results:
You should be able to delete this

Additional info:
This works in RHEL 5.4 and appears to be a regression in 5.5

Attached: Screenshot.

Comment 1 Huzaifa S. Sidhpurwala 2010-04-09 09:34:56 UTC
Created attachment 405496 [details]
screenshot

Comment 3 Tomáš Bžatek 2010-04-15 16:02:04 UTC
Created attachment 406847 [details]
gnome-vfs-2.16.2-same-fs.patch

This is the modified version of patch included in 5.5 release. Turns out that gnome-vfs returns escaped paths when extracted from the URI. This sounds weird and unexpectable, certainly not documented. Since we do g_stat() later then, we need an unescaped path as stored on the disk.

Comment 4 Huzaifa S. Sidhpurwala 2010-04-16 06:55:16 UTC
Hi Tomas, 
Any test rpms you could provide, which we can test?

Comment 7 Tomáš Bžatek 2010-04-19 08:59:59 UTC
*** Bug 579502 has been marked as a duplicate of this bug. ***

Comment 13 manuel wolfshant 2010-05-19 11:43:55 UTC
I have just verified, the patch fixes the problem.

Comment 14 Phil Schaffner 2010-05-20 12:53:36 UTC
See also CentOS bug #4322
http://bugs.centos.org/view.php?id=4322

Comment 23 Tomáš Bžatek 2012-07-19 12:36:06 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:
Technical information could be found in the description of previously released RHBA-2010:0436-1 erratum.

Comment 26 errata-xmlrpc 2013-01-08 05:14:35 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


Note You need to log in before you can comment on or make changes to this bug.