Gentoo Archives: gentoo-user

From: Joseph <syscon780@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] ttyS0 - ownership as root:dialout
Date: Mon, 20 Jan 2014 17:02:20
Message-Id: 20140120170233.GD8475@syscon7.ed.shawcable.net
In Reply to: Re: [gentoo-user] ttyS0 - ownership as root:dialout by Alan McKinnon
1 On 01/20/14 18:45, Alan McKinnon wrote:
2 >On 01/20/14 18:30, Joseph wrote:
3 >> After upgrade to "systemd" my /dev/ttyS0 shows up as: root:dialout
4 >> ownership and permission 600
5 >>
6 >> When I change as root manually to: chown uucp:dialout /dev/ttyS0
7 >> chmod 666 /dev/ttyS0
8 >>
9 >> after restart it goes back to previous setting: root:dialout 600
10 >> How to change it?
11 >>
12 >> My VituralBox complain and will not start with owner: root:dialout
13 >> /dev/ttyS0
14 >>
15 >
16 >
17 >It's a udev rule. Mine looks like this, tweak yours
18 >
19 >$ grep -r uucp /lib/udev/rules.d/
20 >/lib/udev/rules.d/50-udev-default.rules:KERNEL=="tty[A-Z]*[0-9]|pppox[0-9]*|ircomm[0-9]*|noz[0-9]*|rfcomm[0-9]*",
21 >GROUP="uucp"
22 >
23 >
24 >
25 >You'd put your file in /etc/udev/rules.d/, not in /lib/ as above, that's
26 >the as-shipped location for defaults
27 >
28 >--
29 >Alan McKinnon
30 >alan.mckinnon@×××××.com
31
32 Thanks for the hint Alan.
33 Mine looks like this:
34 grep -r dialout /lib/udev/rules.d/
35 /lib/udev/rules.d/50-udev-default.rules:KERNEL=="tty[A-Z]*[0-9]|pppox[0-9]*|ircomm[0-9]*|noz[0-9]*|rfcomm[0-9]*", GROUP="dialout"
36
37 I think the group "dialout" is OK. What the Virtualbox doesn't like is the ownership, the first part "root" (root:dialout)
38 How to influence the first part.
39
40 The strange part is that I have upgraded two system and one is shoring ttyS0 as:
41 uucp:dialout
42
43 and the another one as:
44 root:dialout.
45
46 --
47 Joseph

Replies

Subject Author
Re: [gentoo-user] ttyS0 - ownership as root:dialout Joseph <syscon780@×××××.com>
Re: [gentoo-user] ttyS0 - ownership as root:dialout Helmut Jarausch <jarausch@××××××××××××××××.de>