[Asterisk-Users] File permissions and ownership

Kenneth Porter shiva at sewingwitch.com
Wed Mar 30 12:36:18 MST 2005


--On Wednesday, March 30, 2005 1:16 PM -0600 Matthew Boehm 
<mboehm at cytelcom.com> wrote:

> I run 1.0.7 as non-root. Specifically, I run asterisk as user "asterisk"
> and group "asterisk".
>
> You need to make any /dev/zap stuff owned:grouped by asterisk.
>
> And the paths to logs, sounds, voicemail etc, should all be owned:grouped
> as well.
>
> Works fine here!

Excellent, thanks for the info!

I was mostly worried about opening privileged ports, but an initial test 
showed only high ports opened.

I'd guess that only files asterisk needs to write need to be owned by the 
asterisk user, and the other files (eg. sounds) can be owned by root and 
made world-readable.





More information about the asterisk-users mailing list