RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1011835 - An error is displayed when renaming directory or file on WebDAV location [gvfs webdav backend]
Summary: An error is displayed when renaming directory or file on WebDAV location [gvf...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: gvfs
Version: 6.4
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Ondrej Holy
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks: 994246 1056252
TreeView+ depends on / blocked
 
Reported: 2013-09-25 08:32 UTC by Martin Schuppert
Modified: 2018-12-09 17:11 UTC (History)
5 users (show)

Fixed In Version: gvfs-1.4.3-17.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-10-14 07:06:34 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
gvfs-mount_prefix-async_patch_call (6.74 KB, patch)
2014-01-23 12:10 UTC, Jarek Polok
no flags Details | Diff
gvfs-mount_prefix-async_patch_call.patch (2.04 KB, patch)
2014-01-23 12:11 UTC, Martin Schuppert
mschuppe: review?
Details | Diff
gvfs-re-root-mount_prefix (1.79 KB, patch)
2014-01-23 12:11 UTC, Jarek Polok
no flags Details | Diff
gvfs-re-root-mount_prefix.patch (1.79 KB, patch)
2014-01-23 12:11 UTC, Martin Schuppert
mschuppe: review?
Details | Diff
gvfs-re-root-set_display_name (6.74 KB, patch)
2014-01-23 12:12 UTC, Martin Schuppert
mschuppe: review?
Details | Diff


Links
System ID Private Priority Status Summary Last Updated
GNOME Bugzilla 579276 0 None None None Never
Red Hat Knowledge Base (Solution) 497033 0 None None None Never
Red Hat Product Errata RHBA-2014:1499 0 normal SHIPPED_LIVE gvfs bug fix update 2014-10-14 01:28:13 UTC

Description Martin Schuppert 2013-09-25 08:32:44 UTC
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

Comment 3 RHEL Program Management 2013-10-13 23:07:02 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 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.

Comment 4 Jarek Polok 2014-01-23 12:10:53 UTC
Created attachment 854335 [details]
gvfs-mount_prefix-async_patch_call

Comment 5 Martin Schuppert 2014-01-23 12:11:15 UTC
Created attachment 854336 [details]
gvfs-mount_prefix-async_patch_call.patch

Comment 6 Jarek Polok 2014-01-23 12:11:40 UTC
Created attachment 854337 [details]
gvfs-re-root-mount_prefix

Comment 7 Martin Schuppert 2014-01-23 12:11:53 UTC
Created attachment 854338 [details]
gvfs-re-root-mount_prefix.patch

Comment 8 Martin Schuppert 2014-01-23 12:12:45 UTC
Created attachment 854339 [details]
gvfs-re-root-set_display_name

Comment 9 Jarek Polok 2014-01-23 12:13:35 UTC
Attached patches seem to fix the problem.

(Hello Martin,Seems we uploaded patches simultaneously ;-))

Jarek

Comment 18 errata-xmlrpc 2014-10-14 07:06:34 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/RHBA-2014-1499.html


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