Directly use the server/folder given in 'Connect to Server...' dialog

Bug #460656 reported by Lennie
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Déjà Dup
Fix Released
Medium
Michael Terry
Nautilus
Fix Released
Medium
deja-dup (Fedora)
Fix Released
Medium
deja-dup (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: deja-dup

Deja-dup preferences for sftp-account/server does not have the option to specify a directory. And does not honour the folder setting in the bookmark-window. This is the same in Karmic Beta, Release Candidate (9.10) and Jaunty Jackalope (9.04). I guess it might be an upstream wish ? I've added attachments to illustrate the situation.

Revision history for this message
Lennie (lbesselink) wrote :
Revision history for this message
Lennie (lbesselink) wrote :

As you can see here you can specify a directory but it will not honour it, because gvfs (which seems to be the backend) doesn't honour it either when you open the bookmark from the Places-menu it will go strait to the root or chroot directory on the sftp-server. Now that I think about it, maybe this should be filled on gfvs ? it doesn't have such a bug yet.

Revision history for this message
Lennie (lbesselink) wrote :

This is the preferences window for sftp, as you can see it doesn't have a directory option.

Revision history for this message
Michael Terry (mterry) wrote :

You can specify a directory. But you first have to go to 'Other...' and drill down to the directory you want. The item in the bookmarks is, as you say, always the root directory for the server. But just note that you can indeed choose a subdirectory. You just have to use the 'Other...' option.

When you connect to a server in nautilus, and provide a directory, it immediately opens that directory for you, but the entry it adds to the bookmarks is for the root directory.

So I'm repurposing this bug to be about how Deja Dup should use the directory/location you enter in the 'connect to server...' dialog, rather than having to connect in nautilus and then subsequently re-enter that info into the Deja Dup preferences.

summary: - Deja-dup sftp preferences doesn't allow specifying a directory
+ Directly use the server/folder given in 'Connect to Server...' dialog
Revision history for this message
Michael Terry (mterry) wrote :

This can't be fixed in Deja Dup until upstream GNOME bug https://bugzilla.gnome.org/show_bug.cgi?id=584871 is fixed.

Changed in deja-dup:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Lennie (lbesselink) wrote :

I wanted to confirm that it works sooner, but I didn't immediately understand what you meant. But it does work.

Thank you for pointing out the workaround.

Changed in nautilus:
status: Unknown → New
Revision history for this message
In , Bill (bill-redhat-bugs) wrote :

Description of problem:

I've been attempting to test the sftp backend by pointing it at fedorapeople.org.

This appears to be nearly impossible, as it seems wholly unable to actually switch to the user's home dir, even if you pass it as the 'folder' in the 'Connect to Server' dialog.

Version-Release number of selected component (if applicable):

deja-dup-14.1-1.fc13.x86_64
duplicity-0.6.08b-1.fc13.x86_64

How reproducible:

100%

Steps to Reproduce:
1. Choose 'Connect to Server'
2. Choose sftp, fedorapeople.org
3. Either leave the defaults, or select folder '/home/fedora/<whomever>'

Actual results:

deja-dup insists on always trying to write to fedorapeople's root directory. Needless to say, this fails.

Expected results:

Not that.

Revision history for this message
In , Michael (michael-redhat-bugs) wrote :

This is upstream bug https://bugs.launchpad.net/deja-dup/+bug/460656

Basically, when you use the 'Connect to Server' dialog it would ideally set your location to the destination you picked. But it doesn't yet for technical reasons.

Then, when you try to select the server from the combo box, you are doing just that -- it's just a standard GtkFileChooserButton. So to pick a subfolder, you need to choose 'Other...' and navigate to the folder you want *again*.

Not a great user interaction, but I'm waiting for https://bugzilla.gnome.org/show_bug.cgi?id=584871 to be fixed in Nautilus before I can do something more clever.

Changed in nautilus:
importance: Unknown → Medium
Revision history for this message
In , Adam (adam-redhat-bugs) wrote :

Even thou there is now a directory and bookmark option in deja-dup it ignores this setting wish sftp when you enter it, then it calls the duplicity with no directory to re/store. If I copy the duplicity command line and add the directory manually then it works. Not to mention your "Not a great user interaction" describing very well the procedure of adding any kind of backup directory in deja-dup.

Changed in nautilus:
status: New → Fix Released
Revision history for this message
In , Fedora (fedora-redhat-bugs) wrote :

deja-dup-16.1-2.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/deja-dup-16.1-2.fc14

Revision history for this message
In , Fedora (fedora-redhat-bugs) wrote :

deja-dup-16.1-2.fc14 has been pushed to the Fedora 14 testing repository. If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with
 su -c 'yum --enablerepo=updates-testing update deja-dup'. You can provide feedback for this update here: https://admin.fedoraproject.org/updates/deja-dup-16.1-2.fc14

Revision history for this message
In , Adam (adam-redhat-bugs) wrote :

This problem is not fixed with this release. IMHO it has to do something with nautilus but ATM this still does not work.

Revision history for this message
In , Michael (michael-redhat-bugs) wrote :

Right, this isn't addressed yet. I plan to make the whole thing nicer for Fedora 15.

Revision history for this message
In , Rahul (rahul-redhat-bugs) wrote :
Revision history for this message
Michael Terry (mterry) wrote :

Fixed by redesigning that part of the UI entirely. There is no longer a 'connect to server' dialog.

Changed in deja-dup:
milestone: none → 17.4
assignee: nobody → Michael Terry (mterry)
status: Confirmed → Fix Committed
Michael Terry (mterry)
Changed in deja-dup:
status: Fix Committed → Fix Released
Michael Terry (mterry)
Changed in deja-dup (Ubuntu):
status: New → Fix Released
Revision history for this message
In , Matěj (matj-redhat-bugs) wrote :

Created attachment 483899
screencast of the issue

(In reply to comment #0)
> This appears to be nearly impossible, as it seems wholly unable to actually
> switch to the user's home dir, even if you pass it as the 'folder' in the
> 'Connect to Server' dialog.

I have actually exactly opposite experiene ... when trying to save backups to my primary backup location (which is not $HOME on the targeting computer), I cannot set my directory (see the screencast).

Revision history for this message
In , Matěj (matj-redhat-bugs) wrote :

sorry, using deja-dup-17.90-1.x86_64 on F15.

Revision history for this message
In , Rahul (rahul-redhat-bugs) wrote :

17.4 in Fedora 15 fixes this problem

Changed in deja-dup (Fedora):
importance: Unknown → Medium
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.