Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

add user to group fuse, usermod doesnt work?

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
jcress410
Posts: 39
Joined: 2010-09-21 18:13

add user to group fuse, usermod doesnt work?

#1 Post by jcress410 »

cant use sshfs without permissions on /dev/fuse

tried with sudo

Code: Select all

fuse: failed to open /dev/fuse: Permission denied
jcress@debian:~$ groups
jcress cdrom floppy audio dip video plugdev netdev bluetooth scanner
jcress@debian:~$ sudo usermod -a -G fuse jcress
jcress@debian:~$ groups
jcress cdrom floppy audio dip video plugdev netdev bluetooth scanner
tried as root

Code: Select all

jcress@debian:~$ groups
jcress cdrom floppy audio dip video plugdev netdev bluetooth scanner
jcress@debian:~$ su
Password: 
root@debian:/home/jcress# usermod -G fuse -a jcress
root@debian:/home/jcress# exit
exit
jcress@debian:~$ groups
jcress cdrom floppy audio dip video plugdev netdev bluetooth scanner
jcress@debian:~$ 

User avatar
aspnair
Posts: 1247
Joined: 2009-06-18 12:27
Location: Twitter: @anand_sivaram

Re: add user to group fuse, usermod doesnt work?

#2 Post by aspnair »

That group may not be present for the current shell session.
Just do the following.
grep <username> /etc/groups
to see the list of groups in which the user has been added.
To take effect, you may have to logout and login again. Or it would take effect after the next reboot.
Compressed Air Energy Storage, Entropy and Efficiency
http://saurorja.org/2012/06/18/compress ... fficiency/

User avatar
aicardi
Posts: 388
Joined: 2009-11-18 01:30
Location: Chicago

Re: add user to group fuse, usermod doesnt work?

#3 Post by aicardi »

What I do as root is

Code: Select all

#adduser <username> <group>
example:

Code: Select all

#adduser aicardi fuse
Log out and back in. Check it by
$groups
You should now see that you are in the fuse group.
Jessie/Xfce

Post Reply