sshfs - fusermount: failed to open /dev/fuse: Permission denied

Alan McKinnon alan at linuxholdings.co.za
Sun Jun 4 22:43:22 UTC 2006


On Sunday 04 June 2006 23:05, Ropetin Again wrote:
> > In any case, you can check which groups you're currently in by
> > running the "id" program.  If that program doesn't show "fuse" as
> > one of the entries, sshfs won't work.
>
> Weird that I would have to do that, thank you for pointing it out
> though!   

It's perhaps non-intuitive the first time you run into it, but when 
you understand the mechanism it all makes perfect sense:

When a session starts, the shell does various start-up actions which 
includes checking which groups you belong to. There is no mechanism 
to poll if the user's groups have changed, or to alert running shells 
of such a change. So to have such changes take effect you have to 
re-run the login process, either by logging out and in again, or by 
running a command that causes this such as 'su -'.

You'll find the same issues when you update any of the shell startup 
files such as profile or bashrc

-- 
If only me, you and dead people understand hex, 
how many people understand hex?

Alan McKinnon
alan at linuxholdings dot co dot za
+27 82, double three seven, one nine three five




More information about the ubuntu-users mailing list