|
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
|
|
|
|