Gvfs sftp mount problem after upgrade to 15.10

Asked by Tronix27

Hello,

I've updated my host to 15.10 last week and since then I have some issues with some applications that use gvfs sftp mounts.

I've created a new user to make some tests and everything works fine with gvfs sftp mounts.

If I look to gvfs mount points under my current user I see the following strange stuff :

cne@myhost:~$ ls -l /run/user/1397229043/gvfs/
ls: impossible d'accéder à /run/user/1397229043/gvfs/sftp:host=anyhost,user=anyuser: Aucun fichier ou dossier de ce type
total 0
?????????? ? ? ? ? ? sftp:host=anyhost,user=anyuser

But if I do the same under the new account I created, it looks quite better :

cedric@myhost:~$ ls -l /run/user/1000/gvfs/
total 4
dr-xr-xr-x 1 cedric cedric 4096 oct 30 09:38 sftp:host=anyhost,user=anyuser

I think that something is maybe wrong in home directory or with my user.

If anybody has any idea about that, I'll be pleased !

Thanks in adavance

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Tronix27
Solved:
Last query:
Last reply:
Revision history for this message
Christian Fink (christian-fink) said :
#1

Hello

I had the same problem. I deleted the following folders:

~/.local/share/gvfs-metadata
~/.gvfs

and the problem was solved for me.

Revision history for this message
Tronix27 (cedric-neukomm) said :
#2

Hello,

Thanks for you message !

It's a bit better now but still very strange... Some mounts are now ok and some other sill not (1st line ok, 2nd line ko) :

dr-xr-xr-x 1 user domain^users 4096 oct 28 23:23 sftp:host=host,user=user/
?????????? ? ? ? ? ? sftp:host=host,user=user

Do you remember to have noticed the same stuff as above when you had the problem ?

Revision history for this message
Christian Fink (christian-fink) said :
#3

Yes, you're right. It actually works only to one Remote-System. Another sftp-Connection gives me the same line with a lot of "??"

When I connect in Nautilus as follows:

sftp://user:password@ip (user & password are from Remote-System)

then it works and no ?? in gvfs folder.

Revision history for this message
Tronix27 (cedric-neukomm) said :
#4

I tried the following :

Connected the same way as you with IP address and the mount is ok.
Then I have disconnected and reconnected to see what happens and the mount is bad, the "??" are back.
So once again I have disconnected and reconnected and this time the mount is ok again.
I have repeated the steps and the mount was bad again.

So in summary, the mount is good one out of two times.

Do you have the same behavior on your host ?

Revision history for this message
Christian Fink (christian-fink) said :
#5

My solution seems to have been on prolonged testing just a coincidence.

The same problem is discussed here: https://bugzilla.gnome.org/show_bug.cgi?id=753561

After restarting "gvfsd-fuse" removes the "??" on mounted hosts.

pkill -U $(id -u) gvfsd-fuse; $(find /usr/lib* -name 'gvfsd-fuse') /run/user/$(id -u)/gvfs -o big_writes

Revision history for this message
Tronix27 (cedric-neukomm) said :
#6

Thanks for this interesting thread on bugzilla.

This morning my mounts are working fine.
So I think that ubuntu made some bug fixing as I made my daily update this morning.

Thanks your help, I 've really appreciated !

Cheers