Comment 11 for bug 206267

Revision history for this message
Savvas Radevic (medigeek) wrote : Re: Unable to unmount sftp

I'm using the sftp protocol. When you connect to a server using the 'connect to server' or nautilus (ctrl-l and put sftp://<email address hidden>), it adds a "link" in the side pane of nautilus, right below the "Network Servers". But as nocrack commented, it could be possible that some other protocols are affected as well. Anyway, back to my sftp problem :)

Now, scratch that last comment, it's not when I unmount through side pane. This happens only when I add it with 'connect to server'.
If I hit ctrl-L and enter sftp://<email address hidden>/home/user/ everything is normal, I can also unmount it normally.
I rebooted the machine, I removed and re-added once more through 'connect to server'.
When I hit connect, it pops up a new nautilus window, trying to browse the sftp. That's when the problems appear, and I end up with an unresponsive window, probably when it's trying to retrieve the folder's contents. Sometimes the unresponsive window can be closed (although the mouse pointer is "waiting"), or I have to use the "force quit" option it gives me for nautilus.

That very first new window that is automatically opened after hitting the connect button seems to mess up the whole connection.
I'm saying this because I killed the two processes related to this and connected through the sftp bookmark, which was created previously (using 'connect to server'). I used the menu Places > Bookmarks > user (the name of the bookmark), it opened a new window and I could browse my server with no problems.

I hope I am clear as to where the problem resides. It's a really weird situation. And I think nautilus affects this bug as well.

I also think nautilus (or something) "caches" or stores the retrieved list of contents of the server folder. Use a new username or server to test this, because when I re-added the 'connect to server', the new window and the connection were ok if I visited already browsed folders from previous connections, but when I went to a folder or a username that I haven't visited or used before, the window or the connection do not respond and the list of contents of the folder is not shown.