WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: FUSE not working because of permissions?  (Read 57 times)

Offline sm8ps

  • Sr. Member
  • ****
  • Posts: 286
FUSE not working because of permissions?
« on: November 18, 2017, 02:09:59 PM »
I have imported gnome-encfs-manager on dCore-xenial:2017. The package depends  on fuse which is loaded via 'sceboot.lst'. Running encfs produces an error that I points to fusermount.
Code: [Select]
fusermount: mount failed: Operation not permitted
fuse failed.  Common problems:
 - fuse kernel module not installed (modprobe fuse)
 - invalid options -- see usage message
I have searched for any information but none of the solutions work (adding group fuse, changing ownership of '/dev/fuse' to "root:fuse" or permissions to 777). There was quite a lenghty discussion on the Tinycore forum from 2012 but none of that helped either.

Strangely, the command works when issued with ''sudo''. This makes me think that the 'fusermount' binary should be set-user-gid to root as the following comments suggest.
The Ubuntu Man-page mentions the same under "Security" with the group fuse instead:

This solution does work with a copy of the binary. The binary '/bin/fusermount' itself being a hard-link to '/tmp/tcloop/fuse/bin/fusermount' this should be handled while creating the package. Does that make sense?

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9325
Re: FUSE not working because of permissions?
« Reply #1 on: November 19, 2017, 04:48:24 AM »
Thanks for the testing and reporting, I added a startup script for the fuse package.  Hopefully now all is good.