Matthew Boehm
2005-Mar-13 12:31 UTC
[Asterisk-Users] Running asterisk as non-root: Zaptel Permission Probs
As a security precaution, we run asterisk as non-root. When zaptel /dev/ devices are created, they get owned:groupd as root:root with rw-r--r-- permissions. As such, chan_zap is unable to work due to bad permissions. Is it safe to simply change permissions on all /dev/zap/* stuff to rw-rw-rw ? Is there a better/safer alternative? Thanks, Matthew
Julian J. M.
2005-Mar-13 12:42 UTC
[Asterisk-Users] Running asterisk as non-root: Zaptel Permission Probs
Why not chown to the user asterisk is running under? That way you don't give write access to everybody. AMP does that. Julian J. M. On Sun, 13 Mar 2005 13:31:12 -0600, Matthew Boehm <mboehm@cytelcom.com> wrote:> As such, chan_zap is unable to work due to bad permissions. Is it safe to > simply change permissions on all /dev/zap/* stuff to rw-rw-rw ? Is there a > better/safer alternative?