untrusted user mount usb, followed handbook, still no luck

Mike Clarke jmc-freebsd2 at milibyte.co.uk
Sun Mar 30 22:23:38 UTC 2014


On Sunday 30 Mar 2014 22:57:46 Anton Shterenlikht wrote:

> Perhaps the devfs.conf man page is outdated.
> I see lots of examples on the net from 5-10
> years ago, all similar to devfs.conf style,
> e.g.:
> 
> http://www.cyberciti.biz/faq/freebsd-allow-ordinary-users-mount-cd-rom-dvds
> -usb-removabledevice/
> 
> own       /dev/da0       root:operator
> perm      /dev/da0       0666

devfs.conf is used to configure devices at boot time so will only apply if the 
USB device is connected at boot time. 

> which is different to the handbook, which
> has:
> 
> [localrules=5]
> add path 'da*' mode 0660 group operator

That refers to devfs.rules which is used to configure devices as they are 
attached after booting.

-- 
Mike Clarke


More information about the freebsd-questions mailing list