1 |
On 01/20/2014 06:02:33 PM, Joseph wrote: |
2 |
> On 01/20/14 18:45, Alan McKinnon wrote: |
3 |
>> On 01/20/14 18:30, Joseph wrote: |
4 |
>>> After upgrade to "systemd" my /dev/ttyS0 shows up as: root:dialout |
5 |
>>> ownership and permission 600 |
6 |
>>> |
7 |
>>> When I change as root manually to: chown uucp:dialout /dev/ttyS0 |
8 |
>>> chmod 666 /dev/ttyS0 |
9 |
>>> |
10 |
>>> after restart it goes back to previous setting: root:dialout 600 |
11 |
>>> How to change it? |
12 |
>>> |
13 |
>>> My VituralBox complain and will not start with owner: root:dialout |
14 |
>>> /dev/ttyS0 |
15 |
>>> |
16 |
>> |
17 |
>> |
18 |
>> It's a udev rule. Mine looks like this, tweak yours |
19 |
>> |
20 |
>> $ grep -r uucp /lib/udev/rules.d/ |
21 |
>> /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]*", |
22 |
>> GROUP="uucp" |
23 |
>> |
24 |
>> |
25 |
>> |
26 |
>> You'd put your file in /etc/udev/rules.d/, not in /lib/ as above, |
27 |
>> that's |
28 |
>> the as-shipped location for defaults |
29 |
>> |
30 |
>>-- |
31 |
>> Alan McKinnon |
32 |
>> alan.mckinnon@×××××.com |
33 |
> |
34 |
> Thanks for the hint Alan. |
35 |
> Mine looks like this: |
36 |
> grep -r dialout /lib/udev/rules.d/ |
37 |
> /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]*", |
38 |
> GROUP="dialout" |
39 |
> |
40 |
> I think the group "dialout" is OK. What the Virtualbox doesn't like |
41 |
> is the ownership, the first part "root" (root:dialout) |
42 |
> How to influence the first part. |
43 |
> |
44 |
> The strange part is that I have upgraded two system and one is |
45 |
> shoring ttyS0 as: |
46 |
> uucp:dialout |
47 |
> |
48 |
> and the another one as: |
49 |
> root:dialout. |
50 |
> |
51 |
|
52 |
|
53 |
Hi, |
54 |
|
55 |
I have the same permissions and VirtualBox (4.3.6) runs just fine. |
56 |
VirtualBox is picky about the permission of the hard-disk image (VDI |
57 |
file) |
58 |
There it likes group vboxusers and group r/w permissions. |
59 |
|
60 |
Helmut |