Help Setting up Sshfs

Help Setting up Sshfs

I'm trying to sort out file sharing on my 16.04 PC and have been advised to use sshfs.

From the wiki I'm trying to follow the instructions but not getting very far. I've installed sshfs and checked it is there but the 2nd instruction says to add myself to the fuse group using "sudo gpasswd -a $USER fuse" However when I type that I get "gpasswd: group'fuse' does not exist in /etc/group"

As you can probably guess I am clueless when it comes to terminal and to be honest most things Ubuntu.

The wiki I am following is

1

1 Answer

As you are getting the following error message:

gpasswd: group'fuse' does not exist in /etc/group

This indicates that there is no such group, yet!
Please test if there is and subsequently alleviate the problem as described below:

  1. check if there is a fuse group with:

    cat /etc/group | grep 'fuse'  
    
  2. If there is it would look like:

    fuse:x:1001:  
    
  3. If there isn't, add one like this:

    sudo groupadd fuse  
    
  4. At this point you can add yourself to the group with:

    sudo usermod -a -G fuse your_username 
    
3

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Sarah Jenkins
Author

Sarah Jenkins

Sarah Jenkins is a veteran tech journalist with over 12 years of experience covering artificial intelligence, mobile innovations, and digital ethics. Her insights have appeared in leading technology publications worldwide.