[asterisk-dev] Problems with zap following 1.4.6 install

Tzafrir Cohen tzafrir.cohen at xorcom.com
Mon Jul 2 16:31:06 CDT 2007


On Mon, Jul 02, 2007 at 06:14:51PM -0300, Christian Villa Real Lopes wrote:
> Hi Tzafrir,
> 
> Tzafrir Cohen wrote:
> > That's a funny way of doing:
> >
> > /bin/chmod 0660 /dev/zap/*
> > /bin/chown asterisk:asterisk /dev/zap
> >   
> I use it because such rules on my udev dont work. I used
> # zaptel devices with ownership/permissions for running as non-root
> KERNEL=="zapctl", NAME="zap/ctl", OWNER="asterisk", GROUP="asterisk", 
> MODE="0660"
> KERNEL=="zaptranscode", NAME="zap/transcode", OWNER="asterisk", 
> GROUP="asterisk", MODE="0660"
> KERNEL=="zaptimer", NAME="zap/timer", OWNER="asterisk", 
> GROUP="asterisk", MODE="0660"
> KERNEL=="zapchannel", NAME="zap/channel", OWNER="asterisk", 
> GROUP="asterisk", MODE="0660"
> KERNEL=="zappseudo", NAME="zap/pseudo", OWNER="asterisk", 
> GROUP="asterisk", MODE="0660"
> KERNEL=="zap[0-9]*", NAME="zap/%n", OWNER="asterisk", GROUP="asterisk", 
> MODE="0660"

well, if you inist on duplicating the ettings on each and every line, be
my guest...

> 
> my OS is CentOS v5.0

It already has its own rules.

grep zap /etc/udev/rules.d/*

> 
> > If I'd wat to aplpy all of your explicit configuration:
> >
> >   SUBSYSTEM=="zaptel",    OWNER="asterisk", GROUP="asterisk", MODE=0660"
> >   

-- 
               Tzafrir Cohen       
icq#16849755                    jabber:tzafrir at jabber.org
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com       
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir



More information about the asterisk-dev mailing list