Gentoo Archives: gentoo-user

From: Helmut Jarausch <jarausch@××××××××××××××××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] sshfs - cannot unmount as normal user
Date: Fri, 14 Sep 2012 07:51:06
Message-Id: 1347608934.5600.0@numa-i
In Reply to: Re: [gentoo-user] sshfs - cannot unmount as normal user by "Canek Peláez Valdés"
1 On 09/13/2012 04:23:15 PM, Canek Peláez Valdés wrote:
2 > On Thu, Sep 13, 2012 at 6:37 AM, Helmut Jarausch
3 > <jarausch@××××××××××××××××.de> wrote:
4 > > Hi,
5 > >
6 > >
7 > > Since a short time I have a critical problem with sshfs.
8 > > I cannot unmount it !
9 > >
10 > > Doing, e.g.,
11 > >
12 > > sshfs -o transform_symlinks -o Cipher="blowfish" numa-sv:/Save
13 > /numa-sv
14 > >
15 > > works just fine.
16 > >
17 > > df shows
18 > > numa-sv:/Save 148976776 102070872 40882408 72% /numa-sv
19 > >
20 > > grep /numa-sv /etc/mtab shows
21 > >
22 > > numa-sv:/Save /numa-sv fuse.sshfs rw,nosuid,nodev 0 0
23 > >
24 > >
25 > > BUT trying to do (which has been working for a long time)
26 > >
27 > > fusermount -u /numa-sv
28 > >
29 > > now gives
30 > >
31 > > fusermount: entry for /numa-sv not found in /etc/mtab
32 > >
33 > > sudo umount /numa-sv
34 > > and
35 > > sudo fusermount -u /numa-sv
36 > >
37 > > do work, but then I'd have to generate a general rule in
38 > /etc/sudoers and
39 > > add everybody to the group 'wheel' which I'd like to avoid.
40 > >
41 > >
42 > > I'm using
43 > >
44 > > kernel 3.5.3
45 > >
46 > > openssh 6.1_p1
47 > >
48 > > sshfs-fuse (GIT version 2012/09/13)
49 > >
50 > > fuse 2.9.1-r1
51 > >
52 > > I can't use fuse from GIT since it breaks many packages on my
53 > machine.
54 > >
55 > > Many thanks for a hint,
56 > > Helmut.
57 >
58 > It works here with sshfs-fuse-2.4. Maybe it is because the directory
59 > lives directly under /? Try mounting it in a directory inside $HOME,
60 > and see if it works that way.
61 >
62
63 Unfortunately, this doesn't work either.
64 It seems to be related to a recent kernel as others have similar
65 problems with fuse reported elsewhere.
66
67 Thanks,
68 Helmut.