[Asterisk-Users] Unable to open master device '/dev/zap/ctl'
Kevin Walsh
kevin at cursor.biz
Wed Nov 24 12:38:08 MST 2004
Leandro Morgado [leandro.morgado at bragaredes.homelinux.com] wrote:
> On Wed, 2004-11-24 at 13:53, Dave Cotton wrote:
> > On Wed, 2004-11-24 at 13:45 +0000, Leandro Morgado wrote:
> > > Jose Hernandez wrote:
> > >
> > > > I installed TDM400P and X100P pci cards in a system running
> > > > mandrake 10.1 official, kernel 2.6.8.1-12mdksmp.
> > ^^^^^^^^^^^^^^^^
> >
> > This is not udev up to its tricks again?
> >
> You are right! If his distro is using udev it might dynamically create
> the zap devices with the wrong set of permissions. I am not using udev
> (debian 2.4) but it makes sense that udev would allow you to specify the
> permissions to use when creating devices!
>
The following seems to work (udev permissions file):
# zaptel device
zap/*:asterisk:asterisk:644
zap/channel:asterisk:asterisk:660
zap/ctl:asterisk:asterisk:660
zap/pseudo:asterisk:asterisk:660
zap/timer:asterisk:asterisk:660
If you run Asterisk as root then the above is irrelevant, but nobody
does that - right?
--
_/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/
_/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h
_/ _/ _/ _/ _/ _/ _/ _/_/ kevin at cursor.biz
_/ _/ _/_/_/_/ _/ _/_/_/ _/ _/
More information about the asterisk-users
mailing list