summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-discuss/2012-September/008730.html
blob: d636881e4ac77395d0d5ca4eaab447619c6a3641 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
 <HEAD>
   <TITLE> [Mageia-discuss] Making the serial port available to all
   </TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:mageia-discuss%40mageia.org?Subject=Re%3A%20%5BMageia-discuss%5D%20Making%20the%20serial%20port%20available%20to%20all&In-Reply-To=%3C201209170748.46385.renaud%40olgiati-in-paraguay.org%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="008727.html">
   <LINK REL="Next"  HREF="008731.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-discuss] Making the serial port available to all</H1>
    <B>Renaud (Ron) Olgiati</B> 
    <A HREF="mailto:mageia-discuss%40mageia.org?Subject=Re%3A%20%5BMageia-discuss%5D%20Making%20the%20serial%20port%20available%20to%20all&In-Reply-To=%3C201209170748.46385.renaud%40olgiati-in-paraguay.org%3E"
       TITLE="[Mageia-discuss] Making the serial port available to all">renaud at olgiati-in-paraguay.org
       </A><BR>
    <I>Mon Sep 17 13:48:46 CEST 2012</I>
    <P><UL>
        <LI>Previous message: <A HREF="008727.html">[Mageia-discuss] Making the serial port available to all
</A></li>
        <LI>Next message: <A HREF="008731.html">[Mageia-discuss] Making the serial port available to all
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#8730">[ date ]</a>
              <a href="thread.html#8730">[ thread ]</a>
              <a href="subject.html#8730">[ subject ]</a>
              <a href="author.html#8730">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>On Monday 17 Sep 2012 03:08 my mailbox was graced by a message from Alejandro 
L&#243;pez who wrote:
&gt;<i> &gt; I have a problem, in that whenever I want to use the USB Serial port at
</I>&gt;<i> &gt; /dev/ttyUSB0 I have to log in as root. 
</I>&gt;<i> &gt; I wonder if the way to solve this is by adding a rule
</I>&gt;<i> &gt; /dev/ttyUSB0 root root 777 in Mcc &gt; Security &gt; Settings &gt; Permissions or
</I>&gt;<i> &gt; is there another way ?
</I>&gt;<i> &gt; I have tried to change the permissions in /dev but they always revert to
</I>&gt;<i> &gt; 660 after a time.
</I>
&gt;<i> The devices in dev are recreated with each boot. This explains why they
</I>&gt;<i> loose the permissions. udevd is responsible for creating them at boot time,
</I>&gt;<i> following some rules. You need to modify those rules. If I remember
</I>&gt;<i> correctly, they are located in /etc/udev/rules.d/.
</I>
I think I finally found a simpler solution: 
/dev/ttyUSB0 (like all the /dev/ttyS*) belongs to the group dialout.

So I just added my user to that group (&quot;usermod -a -G dialout user&quot; as root) 
and logged in again.
 
And I can now download my GPS data as user !

Cheers,
 
Ron.
-- 
               I'll defend to the death your right to say that,
                      but I never said I'd listen to it!
                     -- Tom Galloway with apologies to Voltaire
                                    
                   -- <A HREF="http://www.olgiati-in-paraguay.org">http://www.olgiati-in-paraguay.org</A> --

</PRE>





<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="008727.html">[Mageia-discuss] Making the serial port available to all
</A></li>
	<LI>Next message: <A HREF="008731.html">[Mageia-discuss] Making the serial port available to all
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#8730">[ date ]</a>
              <a href="thread.html#8730">[ thread ]</a>
              <a href="subject.html#8730">[ subject ]</a>
              <a href="author.html#8730">[ author ]</a>
         </LI>
       </UL>

<hr>
<a href="https://www.mageia.org/mailman/listinfo/mageia-discuss">More information about the Mageia-discuss
mailing list</a><br>
</body></html>