Red Hat Bugzilla – Bug 580855
Cannot delete folder contents if the name of the folder contains spaces
Last modified: 2018-10-27 09:41:35 EDT
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.
Created attachment 405496 [details] screenshot
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.
Hi Tomas, Any test rpms you could provide, which we can test?
*** Bug 579502 has been marked as a duplicate of this bug. ***
I have just verified, the patch fixes the problem.
See also CentOS bug #4322 http://bugs.centos.org/view.php?id=4322
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.
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