dCore Import Debian Packages to Mountable SCE extensions > dCore x86 Imported Extensions

FUSE not working because of permissions?

(1/1)

sm8ps:
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: ---fusermount: mount failed: Operation not permitted
fuse failed.  Common problems:
 - fuse kernel module not installed (modprobe fuse)
 - invalid options -- see usage message

--- End code ---
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?

Jason W:
Thanks for the testing and reporting, I added a startup script for the fuse package.  Hopefully now all is good.

sm8ps:
Working perfectly, thanks! Sorry for the late response, btw. Your response somehow slipped by because I did not see any email reminder.
Cheers!    sm

Navigation

[0] Message Index

Go to full version