[Freeswitch-users] GSMopen USB dongle permission denied

Dušan Dragić dragic.dusan at gmail.com
Sat Jan 11 21:32:38 MSK 2014


I agree with Iskren, there is probably no need to add a udev rule in this
case. Adding the user to the dialout group is simpler.
Just one thing, with usermod you can use the "-a" (--append) option to
achieve the same result as with gpasswd:
usermod -a -G dialout freeswitch

Of course udev is can still be used if you want to create permanent
symlinks for usb modems or something like that.


On 11 January 2014 18:54, Iskren Hadzhinedev
<iskren.hadzhinedev at ikiji.com>wrote:

>  Hello Nandy,
>
> While this will work you should not alter udev's default permissions.
>
> A cleaner and better solution would be to add the user "freeswitch" to the
> group "dialout" with the command "gpasswd -a freeswitch dialout" or with
>
> "usermod -G dialout freeswitch", the `gpasswd' command being prefferable
> because with usermod you're supposed to list all additional groups that you
> want the user freeswitch to be a member of.
>
>
>
> Cheers,
>
> --
>
> Iskren Hadzhinedev
>
> System Administrator
>
>
>
> The Idea Factory | 20 Mearns Street | Aberdeen | AB11 5AT | UK
>
> T: 01224 607500
>
> VAT Reg No: 982 4936 74. Company registered in Scotland, SC237116
>
> On Sunday 12 January 2014 01:04:11 Nandy Dagondon wrote:
>
> > Hi to all!
>
> >
>
> > mod_gsmopen doesn't load on CentOS x64. USB device permission denied:
>
> > crw-crw---- 1 root dialout /dev/ttyUSB*
>
> >
>
> > To solve this problem, I found this solution somewhere - adding udev this
>
> > more relax rule:
>
> >
> KERNEL=="ttyUSB[0-9]*,NAME="ttyUSB%n",SYMLINK="%k",GROUP="dialout",MODE="066
>
> > 6"
>
> >
>
> > Lately, I tried this - making Freeswitch own the device:
>
> >
> KERNEL=="ttyUSB[0-9]*,NAME="ttyUSB%n",SYMLINK="%k",OWNER="freeswitch",GROUP=
>
> > "dialout",MODE="0660"
>
> >
>
> > I'd like to add this on the Wiki unless there's a better solution. Please
>
> > advise.
>
> >
>
> > /Nandy
>
> _________________________________________________________________________
> 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
>
>


-- 
Dušan Dragić
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140111/d877ceeb/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 4641 bytes
Desc: not available
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140111/d877ceeb/attachment-0001.png 


Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list