ntfs-3g: Unprivileged user cannot mount

Robert traveling08 at cox.net
Sun Feb 8 12:03:12 PST 2009


As the subject states:

[robert] ~> ntfs-3g /dev/ad0s1 winxp
mount_fusefs: /dev/fuse1 on /home/robert/winxp: Operation not permitted
fuse: failed to mount file system: Unknown error: 0

If I setuid in /usr/loca/bin/ntfs-3g

[robert] ~> sudo chmod 4755 /usr/local/bin/ntfs-3g
Password:
[robert] ~> ls -l /usr/local/bin/ntfs-3g
-rwsr-xr-x 1 root robert 29968 Feb 6 06:31 /usr/local/bin/ntfs-3g

then
[robert] ~> ntfs-3g /dev/ad0s1 winxp
Mount is denied because setuid and setgid root ntfs-3g is insecure with
the external FUSE library. Either remove the setuid/setgid bit from the
binary or rebuild NTFS-3G with integrated FUSE support and make it
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   
setuid root. Please see more information at
http://ntfs-3g.org/support.html#unprivileged

In /etc/rc.conf I have:
fusefs_enable="YES"

[robert] ~> kldstat
Id Refs Address Size Name
1 11 0xffffffff80100000 b6e000 kernel
2 1 0xffffffff80c6e000 205f8 geom_mirror.ko
3 1 0xffffffff80c8f000 230b0 snd_hda.ko
4 2 0xffffffff80cb3000 67458 sound.ko
5 1 0xffffffff80d1b000 4828 nfsmb.ko
6 2 0xffffffff80d20000 24a0 smbus.ko
7 1 0xffffffff80d23000 4fd8 atapicam.ko
8 1 0xffffffff80e22000 aa7a fuse.ko

How do I rebuild with integrated FUSE? It is not an option in the port.

[robert] ~> uname -a
FreeBSD asus64.shasta204.local 7.1-STABLE FreeBSD 7.1-STABLE #13: Fri
Feb 6 14:43:48 PST 2009
root at axxxx.xxxx.local:/usr/obj/usr/src/sys/GENERIC amd64

All ports were updated to the latest as of Saturday.

Thanks in advance


More information about the freebsd-ports mailing list