Permission Denied error


#1

After a kernel update (to 2.6.32-34-server) as I usually do I recompiled and re-installed DAHDI. I’m running ASTERISK as non-root (user is asteriskpbx). On re-starting Asterisk I get the following error;

[Oct 1 16:38:53] WARNING[4293]: chan_dahdi.c:4226 dahdi_open: Unable to open ‘/dev/dahdi/channel’: Permission denied
[Oct 1 16:38:53] ERROR[4293]: chan_dahdi.c:12132 mkintf: Unable to open channel 1: Permission denied
here = 0, tmp->channel = 1, channel = 1
[Oct 1 16:38:53] ERROR[4293]: chan_dahdi.c:16522 build_channels: Unable to register channel ‘1’

The file ownership is root.

What did I miss or do wrong?


#2

Found it: I had a typo in dahdi.rules