Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Feb 2006 22:40:04 +1100
From:      Rob <rbyrnes@mailshack.com>
To:        stable@freebsd.org
Subject:   Trouble with mounting USB stick as user
Message-ID:  <200602082240.04690.rbyrnes@mailshack.com>

next in thread | raw e-mail | index | archive | help
Hi all,

Got a small problem thats just driving me nuts. I have an MP3 player that 
appears as a memory stick - from dmesg:

umass0: iRiver Limited. iRiver Internet Audio Player IFP-700, rev 2.00/0.01, 
addr 2
da0 at umass-sim0 bus 0 target 0 lun 0
da0: <iriver MassStorage Disc > Removable Direct Access SCSI-0 device
da0: 1.000MB/s transfers
da0: 500MB (1024001 512 byte sectors: 64H 32S/T 500C)
(da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x10, scsi status 
== 0x0
(da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x10, scsi status 
== 0x0
(da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x10, scsi status 
== 0x0

The mount-point is owned by root:operator, and my user is a member of the 
operator group.  I have vfs.usermount=1 in sysctl.conf.  I have a devfs.rules 
file:

[riff_usb=10]
# Make USB drives readable to those in the "operator" group
add path 'da*' mode 0660 group operator

and it is referenced in rc.conf.

But ..

loop@riff ~ % mount /flash
mount_msdosfs: /dev/da0: Operation not permitted
loop@riff ~ % ls -la /dev/da0
crw-rw----  1 root  operator    0, 122 Feb  8 22:24 /dev/da0

Can anyone shed some light on what is happening here?

Cheers,
rob




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