devfs.rules and serial devices question

Niki Denev nike_d at cytexbg.com
Tue Dec 13 02:08:49 PST 2005


Hi all,

I'm setting up a UPS on one machine,
and the ups daemon (nut) works as user "upsd".
To make it work properly i have added in devfs.rules the
following :

perm    ttyd0   0660
own     ttyd0   upsd:upsd

But it still does not work because ttyd0.init and ttyd0.lock
are still owned by root.
I'll try adding them too to the devfs.rules file,
but i'm wondering if this is the expected behaviour of devfs?
I think that maybe it will be better if one specify ttyd0 in the
file, that rule also to apply for ttyd0.init and ttyd0.lock files.
What do you think?

--niki


More information about the freebsd-stable mailing list