1 |
On Thu, Sep 25, 2014 at 11:28 AM, Grant Edwards |
2 |
<grant.b.edwards@×××××.com> wrote: |
3 |
> On 2014-09-25, Mike Gilbert <floppym@g.o> wrote: |
4 |
>> On Wed, Sep 24, 2014 at 6:28 PM, Grant Edwards |
5 |
>><grant.b.edwards@×××××.com> wrote: |
6 |
>>> On 2014-09-24, Neil Bothwick <neil@××××××××××.uk> wrote: |
7 |
>>>> On Wed, 24 Sep 2014 19:42:56 +0000 (UTC), Grant Edwards wrote: |
8 |
>>>> |
9 |
>>>>> After an update yesterday, I've noticed that the group assigned to |
10 |
>>>>> ttyUSB devices has changed from uucp to root. Non-USB serial ports |
11 |
>>>>> still seem to be uucp. |
12 |
>>>> |
13 |
>>>> What did you update? They are still root:uucp here. |
14 |
>>> |
15 |
>>> Several things got updated, but the most likely suspect is probably |
16 |
>>> sys-fs/udev-215-r1 => sys-fs/udev-216. But, I don't see any changes |
17 |
>>> in the default rules to account for the change in behavior. |
18 |
>>> |
19 |
>> |
20 |
>> I'm running systemd-216, and I see this in |
21 |
>> /lib/udev/rules.d/50-udev-default.rules: |
22 |
>> |
23 |
>> KERNEL=="tty[A-Z]*[0-9]|pppox[0-9]*|ircomm[0-9]*|noz[0-9]*|rfcomm[0-9]*", |
24 |
>> GROUP="uucp" |
25 |
>> |
26 |
>> I suppose it is possible that some later rule overrides it, but I |
27 |
>> don't see anything obvious. |
28 |
> |
29 |
> Yes, I saw that rule (and it hasn't changed recently). I also have a |
30 |
> rule that creates a symlink for a certain USB-serial adapter in |
31 |
> /etc/udev/rules.d/99-user.rules: |
32 |
> |
33 |
> SUBSYSTEMS=="usb",\ |
34 |
> ATTRS{product}=="FT232R USB UART",\ |
35 |
> ATTRS{serial}=="AH026Q3X",\ |
36 |
> KERNEL=="ttyUSB*",\ |
37 |
> SYMLINK+="ttyDBG",\ |
38 |
> GROUP="uucp" |
39 |
> |
40 |
> I didn't used to need to set the GROUP in that rule, the device file |
41 |
> just defaulted to having a group of uucp. Yesterday, I had to add the |
42 |
> "GROUP" command to get the behavior I always used to get without it. |
43 |
|
44 |
You could try using udevadm test to see what rules are firing. |
45 |
|
46 |
sudo udevadm test --action=add /sys/class/tty/ttyUSB0 |