[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ttyS0 permissions change after reboot



On Tue, Mar 06, 2007 at 03:15:22PM +0100, debian wrote:
> 
> Hello,
> 
> I have to change permissions on ttyS0 because I have to sent sms as
> regualar user from inside a program.
> When I change to:
> 
> chmod o+rw /dev/ttyS0
> 
> everything works, but when I reboot, my permissions are set to standard
> and I can't sms anymore.
> 
> How can I change this so that the permissions are still the same after a
> reboot.

Wrong approach:

$ ll /dev/ttyS0
crw-rw----  1 root dialout 4, 64 2002-11-26 02:50 /dev/ttyS0

Add your unprivileged user to the dialout group.

Regards,

-Roberto
-- 
Roberto C. Sanchez
http://people.connexer.com/~roberto
http://www.connexer.com

Attachment: signature.asc
Description: Digital signature


Reply to: