From owner-freebsd-ports@FreeBSD.ORG Sun Feb 8 20:03:12 2009 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5CC3810656C2 for ; Sun, 8 Feb 2009 20:03:12 +0000 (UTC) (envelope-from traveling08@cox.net) Received: from fed1rmmtai104.cox.net (fed1rmmtai104.cox.net [68.230.241.56]) by mx1.freebsd.org (Postfix) with ESMTP id 218078FC08 for ; Sun, 8 Feb 2009 20:03:12 +0000 (UTC) (envelope-from traveling08@cox.net) Received: from fed1rmimpo01.cox.net ([70.169.32.71]) by fed1rmmtao101.cox.net (InterMail vM.7.08.02.01 201-2186-121-102-20070209) with ESMTP id <20090208193312.UCNZ2948.fed1rmmtao101.cox.net@fed1rmimpo01.cox.net> for ; Sun, 8 Feb 2009 14:33:12 -0500 Received: from asus64 ([98.176.32.119]) by fed1rmimpo01.cox.net with bizsmtp id DXZC1b0062aCvGq03XZCLm; Sun, 08 Feb 2009 14:33:12 -0500 X-Authority-Analysis: v=1.0 c=1 a=CuHhYdEOM4EA:10 a=ahTn1oh1AAAA:8 a=8wM2SLYzhcohcVqQN7AA:9 a=TKGwRCSBU8c6fJOB_sgA:7 a=BYdlVv4x1FKuWyPL4kCmqG0oB_QA:4 a=9XSpoOj3B7kA:10 X-CM-Score: 0.00 Date: Sun, 8 Feb 2009 11:33:06 -0800 From: Robert To: freebsd-ports@freebsd.org Message-ID: <20090208113306.4f222dc8@asus64> X-Mailer: Claws Mail 3.7.0 (GTK+ 2.14.7; amd64-portbld-freebsd7.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: ntfs-3g: Unprivileged user cannot mount X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Feb 2009 20:03:12 -0000 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@axxxx.xxxx.local:/usr/obj/usr/src/sys/GENERIC amd64 All ports were updated to the latest as of Saturday. Thanks in advance