[asterisk-users] /dev/zap/channel ownership
Mitch Miller
mitch at mdmiller.com
Thu Oct 19 21:08:09 MST 2006
* is having permission problems accessing /dev/zap/channel. When I
look, these devices (everything in /dev/zap) shows root.root for uid and
gid. If I start Asterisk from the command line, it runs fine (running
as Root). When I start it as a service, I get
Oct 19 23:02:55 WARNING[10587] chan_iax2.c: Unable to open IAX timing
interface: Permission denied
Oct 19 23:02:55 WARNING[10587] chan_zap.c: Unable to open
'/dev/zap/channel': Permission denied
Oct 19 23:02:55 ERROR[10587] chan_zap.c: Unable to open channel 1:
Permission denied
So ... I changed ownership on /dev/zap/* to asterisk.asterisk and now
everything seems to be running fine.
My question is ... how would the ownership on these devices have
changed? (I've not yet rebooted, but I'm suspicious that they'll revert
back to root.root).
-- Mitch
More information about the asterisk-users
mailing list