1 |
On 20/01/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 |
> 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 |
right, we change 'dialout' to 'uucp' within sys-fs/udev's ebuild because |
29 |
it has always been uucp in Gentoo. the dialout group is Fedora thing. |
30 |
|
31 |
looks like systemd's ebuild is failing to do so :/ |