Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 07-30-2009, 12:01 PM   #1
Registered: Jun 2003
Location: Austin, Texas
Distribution: Fedora Core 8, 32-bit
Posts: 126

Rep: Reputation: 15
Allow user to open serial port/change settings?


I'm kernel debugging a remote target over the serial port, and when I try to connect to the remote machine via gdb while I'm logged in as a normal user, i get a "Permission Denied". This works when I use sudo while starting gdb. Is there any way I can change permissions to allow a normal user to open the serail port?

Old 07-30-2009, 12:29 PM   #2
Wim Sturkenboom
Senior Member
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
Make the user a member of the group that has access to the serial port.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need to Change Serial Port Settings... mwnhoby220 Linux - Hardware 1 03-18-2009 01:47 PM
change serial port IO addresses by command line powah Linux - Hardware 1 08-01-2006 07:55 AM
using Stty to change serial port settings dkarnad Linux - General 1 12-21-2004 07:47 AM
What are my serial port settings? glenn69 Linux - Newbie 3 08-11-2004 10:37 PM
Redhat 7.1 cannot save serial port settings lukethack Linux - Newbie 0 01-10-2002 05:08 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:23 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration