To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.legosOpen lugnet.robotics.rcx.legos in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / legOS / 1876
1875  |  1877
Subject: 
Re: permissions
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Tue, 15 May 2001 12:01:38 GMT
Viewed: 
1660 times
  
Kenneth Johansen wrote:

if you are running a single user system,

you might want to login as root and do a "chown james /dev/ttyS0"
or ttyS1

depends on what tty you are using.
that way user james will have permission to write to said tty.


Thanks!

But rather than do things for a single user I opted for:

        chmod 666 ttyS0

If I'm not mistaken, this will give every user access to Serial port 0
(comm 1).  Since my system only uses comm 1 for the lego tower this seems
like a safe thing to do.  Please tell me if it is not  :)

-James



Message is in Reply To:
  Re: permissions
 
the following error as a user. [James@Sauron demo]$ ../util/dll helloworld.lx open: Permission denied opening tty: Permission denied To what directory or files does my user need permission? I tried using a find on tty to no avail. A little help? if (...) (24 years ago, 15-May-01, to lugnet.robotics.rcx.legos)

2 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR