[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] AVRISP programming error
From: |
Julius Luukko |
Subject: |
Re: [avr-gcc-list] AVRISP programming error |
Date: |
Fri, 12 Mar 2004 08:34:07 +0200 |
User-agent: |
KMail/1.4.3 |
On Thursday 11 March 2004 17:59, harshit suri wrote:
> *however* when i do it as root i am atleast allowed
> access to serial port
> ps: i have tried the usual chmod a+wr /dev/ttyS0 and
> also tried changing owner of /dev/ttyS0 to myself from
> root using chown
Hello,
At least with RedHat Linux 7.3 the way to define hardware access permissions
is using /etc/security/console.perms. This way the permissions are always
changed for the user logged on the console. I have added the following lines
to appropriate sections of /etc/security/console.perms
# device classes -- these are shell-style globs
<serialcom>=/dev/ttyS[0-1]
# permission definitions
<console> 0660 <serialcom> 0660 root.uucp
I hope this helps with using the serial port as a normal user.
--
D.Sc. Julius Luukko
Laboratory of Control Engineering/Department of Electrical Engineering
Lappeenranta University of Technology, FINLAND
phone:+358-5-621 6713, fax:+358-5-621 6799, www: http://www.ee.lut.fi
_______________________________________________
avr-gcc-list mailing list
address@hidden
http://www.avr1.org/mailman/listinfo/avr-gcc-list
RE: AW: [avr-gcc-list] Gcc bug??, Dave Hansen, 2004/03/04
RE: AW: [avr-gcc-list] Gcc bug??, Dave Hylands, 2004/03/04