Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Dec 2011 01:12:15 GMT
From:      Marcelo Froes <mfroes@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   amd64/163048: normal user cant mount ntfs-3g
Message-ID:  <201112040112.pB41CF6i045742@red.freebsd.org>
Resent-Message-ID: <201112041013.pB4ADiTe064937@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         163048
>Category:       amd64
>Synopsis:       normal user cant mount ntfs-3g
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-amd64
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 04 10:13:44 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Marcelo Froes
>Release:        8.2
>Organization:
>Environment:
FreeBSD nas.internode.on.net 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Thu Feb 17 02:41:51 UTC 2011     root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
+Have set the local rules for devfs
[localrules=5]
add path 'da*' mode 0660 group operator
add path 'fuse*' mode 666

+on /etc/rc.conf
devfs_system_ruleset="localrules"
+have set vfs.usermount=1 and runned the command
sysctl vfs.usermount=1

/dev/da4s1 has 0666 permissions as does mount_fusefs and the mounting point.

inserted on fstab

/dev/da4s1              /media/Story    ntfs rw,mountprog=/usr/local/bin/ntfs-3g,late 0 0

when trying to mount
$ mount  /media/Story
mount_fusefs: /dev/fuse0 on /media/Story: Operation not permitted
fuse: failed to mount file system: No such file or directory

this is the permissions of the device 
crw-rw-rw-  1 root  storage    0,  92 Dec  4 20:50 /dev/fuse0

lrwxr-xr-x  1 root  wheel  28 Dec  4 03:44 /usr/sbin/mount_fusefs -> /usr/local/sbin/mount_fusefs
here is the ktrace:
http://pastebin.com/WnkqrHBp

>How-To-Repeat:
couldnt replicate on virtualbox.
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201112040112.pB41CF6i045742>