On Sun, 10 Sep 2006, Alvaro Cornejo wrote:

Hi

I?ve the following problem

I?ve an usb modem that is correctly recognized by the OS (Fed5) and works
fine.

However, when the machine reboots and or I need to disconnect the modem,
when reconecting it or after booting, bearbox can not open the connection.
I?ve a permision denied eror. After some debug I found that the kannel
init.d script that came with the fed5 rpm uses the parameter --chuid
kannel:kannel as an argument for starting kannel; however, at boot or when
reconnecting the usb device,  /dev/ttyACM0, the mapped usb device belong to
root; so I have to either run chown kannel before starting kannel in order
to allow bearerbox write to the modem or I?ve to edit the kannel init.d
script and take out the chuid parameter.

My questions are:

1) Is there a problem running kannel as root; other than a security issue?
2) Is there a way to make the device belong or be write enabled to kannel
user/group at the moment the usb device is recognized by the system?

this may be a little naive of me but can't you chgrp /dev/YOURDEVICE kannel and make it's permissions 664?

cheers

iain


Regards

Alvaro

Reply via email to