Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Sep 2003 10:30:17 -0500
From:      "Scot W. Hetzel" <hetzelsw@westbend.net>
To:        "John Reynolds" <johnjen@reynoldsnet.org>, <current@freebsd.org>
Subject:   Re: is there a "knob" for devfs rules?
Message-ID:  <020c01c3709d$fd932080$11fd2fd8@westbend.net>
References:  <16210.45686.750487.40979@whale.home-net>

next in thread | previous in thread | raw e-mail | index | archive | help
From: "John Reynolds" <johnjen@reynoldsnet.org>
> Hi all, in debugging /dev/usb* and /dev/ugen* permissions problems so that
I
> could access my digital camera as a mere-mortal user, I came across this
> posting to -questions:
>
>
http://www.freebsd.org/cgi/getmsg.cgi?fetch=1203173+1206388+/usr/local/www/db/text/2003/freebsd-questions/20030622.freebsd-questions
>
> Indeed what Jesse posted worked like a charm:
>
>   devfs ruleset 10
>   devfs rule add path 'ugen*' mode 664
>
You would need to add the following to /etc/devfs.rules:

[devfsrules_ugen=50]
add path 'ugen*' mode 664

Then add to /etc/rc.conf:

devfs_system_ruleset="devfsrules_ugen"

Scot



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?020c01c3709d$fd932080$11fd2fd8>