The Computer Oracle

Why is "sudo unmount" required for unmounting an sshfs-mount if it was mounted without sudo privilges?

--------------------------------------------------
Rise to the top 3% as a developer or hire one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------

Music by Eric Matyas
https://www.soundimage.org
Track title: Droplet of life

--

Chapters
00:00 Why Is &Quot;Sudo Unmount&Quot; Required For Unmounting An Sshfs-Mount If It Was Mounted Without Sud
00:35 Accepted Answer Score 18
00:50 Thank you

--

Full question
https://superuser.com/questions/423907/w...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#filesystems #sudo #sshfs #fuse #umount

#avk47



ACCEPTED ANSWER

Score 18


Because umount only allows root to unmount regular filesystems.

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

fusermount -u mountpoint