WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

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

Offline sm8ps

  • Sr. Member
  • ****
  • Posts: 338
FUSE not working because of permissions?
« on: November 18, 2017, 02:09:59 PM »
I have imported gnome-encfs-manager on dCore-xenial:2017.10.07.21.07. 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.
http://forum.tinycorelinux.net/index.php/topic,14319.0.html

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.
https://www.raspberrypi.org/forums/viewtopic.php?f=50&t=10779#p120344
The Ubuntu Man-page mentions the same under "Security" with the group fuse instead:
http://manpages.ubuntu.com/manpages/xenial/man8/mount.fuse.8.html

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: 9730
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.

Offline sm8ps

  • Sr. Member
  • ****
  • Posts: 338
Re: FUSE not working because of permissions?
« Reply #2 on: November 25, 2017, 05:53:15 AM »
Working perfectly, thanks! Sorry for the late response, btw. Your response somehow slipped by because I did not see any email reminder.
Cheers!    sm