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 https://help.ubuntu.com/community/SSHFS

  • Jakuje, I see we both edited my question at the same time getting rid of the auto corrects I didn't notice. Can you offer any advise please? I'm lost. – Jon Homer Feb 21 '17 at 9:36

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:

  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 
  • 1
    Welcome to Ask Ubuntu! :-) Could you please edit your answer and explain the why too? Also please review my edits and also review the editing help to improve the readability of your answers in the future... ;-) After you've edited, leave a comment @Fabby and I'll come back and upvote if it's now a good answer... ;-) – Fabby Aug 5 '19 at 19:54
  • @Fabby I was wondering how to make it look like like you did it, now I know! I hope the ingress was what you where proposing. Being my first answer I hope this will do. ;-) – itbojen Aug 5 '19 at 20:36
  • +1 Now it's a good answer! ;-) – Fabby Aug 6 '19 at 6:42

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.