[Freeswitch-users] GSMopen USB dongle permission denied

Iskren Hadzhinedev iskren.hadzhinedev at ikiji.com
Sat Jan 11 20:54:42 MSK 2014


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",G
ROUP=
> "dialout",MODE="0660"
> 
> I'd like to add this on the Wiki unless there's a better solution. Please
> advise.
> 
> /Nandy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140111/35a08963/attachment.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/35a08963/attachment.png 


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