Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] ttyS0 - ownership as root:dialout
Date: Mon, 20 Jan 2014 16:46:02
Message-Id: 52DD52BC.2050008@gmail.com
In Reply to: [gentoo-user] ttyS0 - ownership as root:dialout by Joseph
1 On 01/20/14 18:30, Joseph wrote:
2 > After upgrade to "systemd" my /dev/ttyS0 shows up as: root:dialout
3 > ownership and permission 600
4 >
5 > When I change as root manually to: chown uucp:dialout /dev/ttyS0
6 > chmod 666 /dev/ttyS0
7 >
8 > after restart it goes back to previous setting: root:dialout 600
9 > How to change it?
10 >
11 > My VituralBox complain and will not start with owner: root:dialout
12 > /dev/ttyS0
13 >
14
15
16 It's a udev rule. Mine looks like this, tweak yours
17
18 $ grep -r uucp /lib/udev/rules.d/
19 /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]*",
20 GROUP="uucp"
21
22
23
24 You'd put your file in /etc/udev/rules.d/, not in /lib/ as above, that's
25 the as-shipped location for defaults
26
27 --
28 Alan McKinnon
29 alan.mckinnon@×××××.com

Replies

Subject Author
Re: [gentoo-user] ttyS0 - ownership as root:dialout Samuli Suominen <ssuominen@g.o>
Re: [gentoo-user] ttyS0 - ownership as root:dialout Joseph <syscon780@×××××.com>