devfs and scanner

Roland Smith rsmith at xs4all.nl
Thu May 22 22:42:01 UTC 2008


On Thu, May 22, 2008 at 09:26:59PM +0000, Sébastien Morand wrote:
> Hi
> 
> a would like to up my scanner automatically ofr regular user, so I create 
> theses lines in devfs.conf:
> link	uscanner0	scanner
> perm	uscanner0	0660
> own	uscanner0	root:scanner
> 
> I create the group scanner and add the user in it, but it doesn't work. 
> When I plug the scanner I get:
> $ ls -l /dev/uscanner0
> crw-r--r--  1 root  operator    0, 124 May 22 21:25 /dev/uscanner0
> 
> And what I would like is:
> crw-rw-r--  1 root  scanner    0, 124 May 22 21:25 /dev/uscanner0
> 
> How can I achieve this?

Devfs.conf only deals with devices available at boot. For hotpluggable
devices like USB, use devfs.rules. See the devfs.rules manual page.

Roland
-- 
R.F.Smith                                   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080522/4187c1b0/attachment.pgp


More information about the freebsd-questions mailing list