Re: Fuse paths with gvfs



Am Tue, 18 Nov 2008 10:56:27 +0100
schrieb Alexander Larsson <alexl redhat com>:

> On Sun, 2008-11-16 at 15:42 +0200, Markku Vire wrote:
> > Hi list,
> > 
> > I'm wondering whether gvfs-fuse-daemon is expected to support
> > multiple mounts from the same server. I have the following kind of
> > situation:
> > 
> > sftp://user1 server/some/path
> > sftp://user2 server/some/path
> > 
> > When I mount these shares, I end up having:
> > 
> > $HOME/.gvfs/sftp on server/
> > $HOME/.gvfs/sftp on server/
> > 
> > which is certainly not a good thing... Since the username doesn't
> > appear in fuse path, both shares end up having identical paths.
> > 
> > Should this kind of use case be OK? If yes, then GIO uri <=> fuse
> > path mapping needs a fix, if not, then I would expect some kind of
> > error message from some of the components.
> 
> Yeah, this doesn't look right. If the user is specified in the uri it
> should be so in the sftp mountpoint too. I've fixed this on trunk, but
> its a string addition, so its kinda hard to fix on stable...

If fixing stable is not an option, I suggest to at least print a
warning pointing out the problem.

ciao,
    Christian


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]