Re: is there a "knob" for devfs rules?

From: Scot W. Hetzel <hetzelsw_at_westbend.net>
Date: Mon, 1 Sep 2003 10:30:17 -0500
From: "John Reynolds" <johnjen_at_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
Received on Mon Sep 01 2003 - 06:30:56 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:20 UTC