Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have an sshfs FUSE filesystem mounted in ~/mountpoint. I tried umount mountpoint and diskutil unmount mountpoint (on a Mac here) and both failed. I used sshfs -o IdentityFile=<key> user@hostname:/home/<user> ~/mountpoint; none of that required sudo.

Why, then, do unmount it do I need sudo privilges?

share|improve this question
add comment

1 Answer

up vote 5 down vote accepted

Because umount only allows root to unmount regular filesystems.

You can, however, unmount any FUSE filesystem (inclusing sshfs) without using sudo:

fusermount -u mountpoint
share|improve this answer
    
yes, but I have no command fusermount installed; I believe it is linux-specific. But thanks - I didn't know umount was sudo-only –  kalaracey May 13 '12 at 7:52
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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