** Changed in: gvfs Status: New => In Progress -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gvfs in Ubuntu. https://bugs.launchpad.net/bugs/1297773
Title: WebDAV moves files using PUT and DELETE instead of MOVE Status in GVFS: In Progress Status in “gvfs” package in Ubuntu: Triaged Bug description: lsb_release -rd Description: Ubuntu 13.04 Release: 13.04 (I'm told this also happens on 12.04) WebDAV moves files using PUT and DELETE instead of MOVE How to reproduce the issue: Pre-requisites: - WebDAV server. - Packet sniffer (e.g. Wireshark) or set appropriate log levels in the WebDAV server to observe HTTP requests being made. Mount a webdav server: 1. open a nautilus window 2. use menu "files > connect to server" 3. enter the server address (e.g. dav://localhost:8080/alfresco/webdav) and connect Create two folders: "test-move1" and "test-move2". Create a text file in test-move1 named move.txt with some short text in it. Select the file in nautilus and type Ctrl-X. Navigate to "test-move2". Move the file by typing Ctrl-V. Observed behaviour: A multi-request move operation is executed. GET on test-move1/move.txt HEAD on test-move2/move.txt PUT on test-move2/move.txt ... DELETE on test-move1/move.txt Expected behaviour: The move is performed using the WebDAV MOVE command. By using GET, PUT, DELETE instead of a single MOVE: - The client must wait for the entire file to be downloaded before it can be uploaded to the new location. By using MOVE the entire operation may be highly optimized and performed only on the server. - Any associated metadata (including versioning) for the file is lost - since we are in fact creating a new file and deleting the old one. - There is a lack of atomicity and potentially, data integrity. What would happen if an update is made to test-move1/move.txt just before the DELETE happens? ProblemType: Bug DistroRelease: Ubuntu 13.04 Package: nautilus 1:3.6.3-0ubuntu16 ProcVersionSignature: Ubuntu 3.8.0-35.50-generic 3.8.13.13 Uname: Linux 3.8.0-35-generic i686 ApportVersion: 2.9.2-0ubuntu8.5 Architecture: i386 Date: Wed Mar 26 10:14:41 2014 GsettingsChanges: b'org.gnome.nautilus.window-state' b'geometry' b"'800x550+148+73'" InstallationDate: Installed on 2013-07-19 (249 days ago) InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release i386 (20130424) MarkForUpload: True SourcePackage: nautilus UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/gvfs/+bug/1297773/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp