Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Mar 2014 23:20:22 +0100
From:      Mike Clarke <jmc-freebsd2@milibyte.co.uk>
To:        mexas@bris.ac.uk
Cc:        freebsd-questions@freebsd.org
Subject:   Re: untrusted user mount usb, followed handbook, still no luck
Message-ID:  <201403302320.22409.jmc-freebsd2@milibyte.co.uk>
In-Reply-To: <201403302157.s2ULvkkH023643@mech-cluster241.men.bris.ac.uk>
References:  <201403302157.s2ULvkkH023643@mech-cluster241.men.bris.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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