Failed to open /dev/ttySO

2004-05-13 Thread Philippe Dhont (Sea-ro)

Hi,

I am using smsclient with a normal user.
I changed some settings and smsclient works with root and normally also
with a normal user but i have troubles with /dev/ttyS0

The user has no rights for ttyS0 ?
== Failed to open /dev/ttyS0

How can i change my /dev/ttyS0 so that a regular user can use it ?

Thnx!
Phil.



Re: Failed to open /dev/ttySO

2004-05-13 Thread Colin Watson
On Thu, May 13, 2004 at 01:31:51PM +0200, Philippe Dhont   (Sea-ro) wrote:
 I am using smsclient with a normal user.
 I changed some settings and smsclient works with root and normally also
 with a normal user but i have troubles with /dev/ttyS0
 
 The user has no rights for ttyS0 ?
 == Failed to open /dev/ttyS0
 
 How can i change my /dev/ttyS0 so that a regular user can use it ?

Don't change the device; add the user to the dialout group.

-- 
Colin Watson  [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Failed to open /dev/ttySO

2004-05-13 Thread Andreas Janssen
Hello

Philippe Dhont   (Sea-ro) ([EMAIL PROTECTED]) wrote:

 I am using smsclient with a normal user.
 I changed some settings and smsclient works with root and normally
 also with a normal user but i have troubles with /dev/ttyS0
 
 The user has no rights for ttyS0 ?
 == Failed to open /dev/ttyS0
 
 How can i change my /dev/ttyS0 so that a regular user can use it ?

Check the permissions. Normally only root and the dialout group have
read and write access to /dev/ttyS*. Adding the user to the dialout
group can probably solve the problem.

best regards
Andreas Janssen

-- 
Andreas Janssen [EMAIL PROTECTED]
PGP-Key-ID: 0xDC801674 ICQ #17079270
Registered Linux User #267976
http://www.andreas-janssen.de/debian-tipps.html


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]