Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-09-2009, 08:50 PM   #1
Yves Plasse
LQ Newbie
Registered: Jan 2009
Posts: 5

Rep: Reputation: 0
CAnnot access /dev/ttys1 with Minicom on Korn Shell

I am using Slackeare 12.2.

When I use Minicom as Root, I am able to dial out on /dev/ttys1. When I log as a normal user with its default Korn Shell (ksh), I get the message 'minicom: cannot open /dev/ttys1 - Permission denied' after starting it.

I tried to comment out /dev/ttys1 on the file /etc/serial.conf without success. Obviously, there must be a way to allow the access to /dev/ttys1 to a user. Can somebody tell me how?

Thank you,
Yves Plasse.
Old 01-09-2009, 09:48 PM   #2
Senior Member
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,239
Blog Entries: 3

Rep: Reputation: 345Reputation: 345Reputation: 345Reputation: 345
make sure in your user manager the user has daemon and bin permission and plugdev.
Old 01-10-2009, 08:03 AM   #3
Yves Plasse
LQ Newbie
Registered: Jan 2009
Posts: 5

Original Poster
Rep: Reputation: 0
This user is part of the daemon, bin and plugdev groups. There must be something else...

Thank you,
Yves Plasse.
Old 01-10-2009, 08:23 AM   #4
Registered: Apr 2007
Location: Philippines
Distribution: Kubuntu, Ubuntu, CentOS
Posts: 289

Rep: Reputation: 41
perhaps you do not have write permission on the folder wherein the config file for minicom is being created?
Old 01-10-2009, 12:55 PM   #5
Yves Plasse
LQ Newbie
Registered: Jan 2009
Posts: 5

Original Poster
Rep: Reputation: 0
Thumbs up

I finally found the problem. After looking at all replies and reading a bit. I found somewhere that the message 'Permission Denied' is most likely related to a file permission problem. I logged as root and checked the permissions for /dev/ttyS1 to find that it was allowed read/write permission to root and uucp and none to the others. I just had to make my user part of the uucp group to be able to use minicom and access my modem on COM2.

Thank you all.
Yves Plasse.


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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
korn shell variable help 4play Programming 9 11-23-2011 01:03 PM
Globbing using Korn Shell metallica1973 Programming 1 12-05-2007 05:56 PM
creating /dev/ttyS0 or ttyS1 MToloo Linux - Hardware 3 03-05-2007 10:09 AM
korn shell tutorial/course kapilcool Linux - Certification 2 11-13-2006 10:18 PM
No such device /dev/ttyS1 gsancho Debian 3 09-23-2004 06:40 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:20 PM.

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