On 7/6/05, Adam Sherman carbon60@gmail.com wrote:
On 7/6/05, Bogdan-Andrei Iancu bogdan@voice-system.ro wrote:
if you do uid=openser, gid=voip, mask=0660, only user root, openser and users belonging to voip group will be able to read/write to the fifo file.
So, I've got the -u/-g part. How do I set umask, should I do it manually prior to starting the daemons?
I'm running openser with -u openser and -g openser, but the fifo is still root:root. Any ideas why? (I'm using debs, BTW.)
I found this info in the changelog:
sock_user="openser" sock_group="openser"
This fixes the problem.
Thanks,
A.