[Serusers] chown'ing /tmp/ser_fifo

Alexandr Dubovikov shurik at start4.info
Wed Apr 12 08:55:17 CEST 2006


On Wed, Apr 12, 2006 at 03:25:49PM +1000, Nick Hoffman wrote:

Hi Nick,

> Hi guys, I need /tmp/ser_fifo to *always* be owned by root:foobar. What's
> the best way of accomplishing this? I was thinking of chown'ing the fifo
> at the end of ser's init script. However, I'm not sure when the fifo is
> created when starting up ser, or whether the fifo is ever recreated (thus
> requiring a new chown).

try to change in main.c:

int sock_uid = 0;
int sock_gid = 300; // where 300 is a sample gid of your foobar group.

it should help.

> 
> Any suggestions? I'm all ears!
> -- Nick
> e: nick.hoffman at altcall.com
> p: +61 7 5591 3588
> f: +61 7 5591 6588
> 
> If you receive this email by mistake, please notify us and do not make any 
> use of the email.  We do not waive any privilege, confidentiality or 
> copyright associated with it.
> 
> _______________________________________________
> Serusers mailing list
> serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers

Wbr,
-- 
Alexandr Dubovikov * baron at iRC RusNet * mailto:shurik at start4.info
    AD1-UANIC      *  ICQ: 122351182  *  http://www.start4.info




More information about the sr-users mailing list