amd64/163048: normal user cant mount ntfs-3g

Marcelo Froes mfroes at gmail.com
Sun Dec 4 10:13:44 UTC 2011


>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 at 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:


More information about the freebsd-amd64 mailing list