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@freeswitch.org
http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org