Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Mar 2002 08:31:36 -0800
From:      "Crist J. Clark" <crist.clark@attbi.com>
To:        current@freebsd.org
Subject:   devfs(5) Permissions
Message-ID:  <20020303083136.A84637@blossom.cjclark.org>

next in thread | raw e-mail | index | archive | help
I've checked the manpages, the files in /etc, and Googled, and I can't
find the answer. I am begining to worry there isn't one. How does one
change the permissions on dynamically created devices? That is, when
the node comes into existence, it has the permissions I want, and not
necessarily the defaults.

My example is the bpf(4) device. The node only comes into existence
the first time you try to use it. I want to give a certain group read
permission to the device.

There are terrible, terrible, ugly ways to work around this (some kind
of script run at startup to create 'n' bpf(4) devices and which then
modifies the permissions), but it would be much easier to be able to
tell the system what the default permissions are.
-- 
Crist J. Clark                     |     cjclark@alum.mit.edu
                                   |     cjclark@jhu.edu
http://people.freebsd.org/~cjc/    |     cjc@freebsd.org

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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