[Freeswitch-users] Spandsp modems as non-root?

Shahar shaharhd at gmail.com
Thu Apr 4 23:17:25 MSD 2013


well... the directory setting always existed in spandsp - it was just
undocumented :)


On Thu, Apr 4, 2013 at 1:01 PM, Steven Schoch <
schoch+freeswitch.org at xwin32.com> wrote:

> On Tue, Apr 2, 2013 at 4:48 PM, Shahar <shaharhd at gmail.com> wrote:
>
>> you might want to have a look at
>> http://wiki.freeswitch.org/wiki/HylaFax#Modem_devices_permissions_issue
>>
>
> That's great!  ... and better than my solution, which was:
>
> 1. Create a 'dev' group in /etc/group with this line:
> dev:x:11:freeswitch
> 2. Modify the startup script by adding this line before the 'daemon' line:
>         chgrp dev /dev; chmod g+w /dev
>
> Now that this patch is in, I can avoid giving the 'freeswitch' user more
> permissions than it needs.
>
> I also modified the start script to make the modem devices work with
> HylaFax by adding this line after the 'daemon' line:
>
>         (sleep 120; chgrp uucp /dev/FS*; chmod g+r /dev/FS*) &
>
> This allows HylaFAX, which runs in the 'uucp' group, to access the modems.
>
> --
> Steve
>
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130404/69ef864b/attachment-0001.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list