On Tue, 19 Nov 2002, Bruce Evans wrote:

> > No, the default permissions are specified in the driver source code
> > via make_dev().
> 
> The drivers only get the magic numbers for uids and gids from a central
> file.  This is bad enough.  I think all devices should have ownership
> root:wheel and mode 0600, but that would increase the problems with
> non-persistent attributes.  devfs(8) may be able to handle this now. 

I have to say that the ownership issue has been a pet peeve of mine for
some time: I would really like the kernel to know about exactly two magic
id values: uid 0 (suser uid, default uid, default devfs owner), and gid 0
(default gid, default devfs owner).  Hard-coding of other non-0 values in
the kernel leads to many potential (and real) problems. 

Robert N M Watson             FreeBSD Core Team, TrustedBSD Projects
[EMAIL PROTECTED]      Network Associates Laboratories


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to