Tiny Core Linux
dCore Import Debian Packages to Mountable SCE extensions => dCore X86 => dCore x86 Imported Extensions => Topic started by: sm8ps on November 18, 2017, 05: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.
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?
-
Thanks for the testing and reporting, I added a startup script for the fuse package. Hopefully now all is good.
-
Working perfectly, thanks! Sorry for the late response, btw. Your response somehow slipped by because I did not see any email reminder.
Cheers! sm