Hide Forgot
Description of problem: When use "Connect to server" in Nautilus Configure and configure a webdav share it is not possible to rename files or folders. The following messages will be displayed: "The item could not be renamed. Sorry, could not rename "dir1" to "dir2": The specified location is not mounted". "The item could not be renamed. Sorry, could not rename "file1" to "file2": The specified location is not mounted". Version-Release number of selected component (if applicable): * RHEL 6.4 * gvfs-1.4.3-15.el6.x86_64 ( webdav backend ) * nautilus-2.28.4-19.el6.x86_64 How reproducible: always Steps to Reproduce: 1. Setup basic webdav server 2. use "Connect to server" in Nautilus Configure and configure a webdav share 3. create a file/directory 4. rename file/directory which results in an error message Actual results: Error message is being displayed: "The item could not be renamed. Sorry, could not rename "file1" to "file2": The specified location is not mounted". Expected results: No error message, the file/directory will be renamed Additional info: Ref: https://bugzilla.gnome.org/show_bug.cgi?id=579276 https://bugs.launchpad.net/ubuntu/+source/gvfs/+bug/512496 Solved upstream: The problem here was that the path the backend supplied back to the client was relative to the mount_prefix of the mount; so the client needs to resolve that path and append the mount_prefix before creating a new GDaemonFile with the new path. Fixed on master with the following commit: commit d4049d3ac0741c3700a029a24c869dfafd840dc2 Author: Christian Kellner <gicmo> Date: Thu May 12 10:53:04 2011 +0200 daemonfile: Re-root the path in set_display_name () The path we get as a result of a set_display_name operation has to be re-rooted with the mount_prefix of the specific mount. This fixes the "Location not mounted" error that we currently get for e.g. WebDAV mounts with a mount_prefix after renaming of files. And the supportive commits: commit 7a2942f7bdf39ebfc31ea90c0685b5890d30964d commit 66bc0189d836130768df41900f3cf29723bbd870
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 unable to address this request at this time. Red Hat invites you to ask your support representative to propose this request, if appropriate, in the next release of Red Hat Enterprise Linux.
Created attachment 854335 [details] gvfs-mount_prefix-async_patch_call
Created attachment 854336 [details] gvfs-mount_prefix-async_patch_call.patch
Created attachment 854337 [details] gvfs-re-root-mount_prefix
Created attachment 854338 [details] gvfs-re-root-mount_prefix.patch
Created attachment 854339 [details] gvfs-re-root-set_display_name
Attached patches seem to fix the problem. (Hello Martin,Seems we uploaded patches simultaneously ;-)) Jarek
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/RHBA-2014-1499.html