From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id C2B2313838B for ; Thu, 25 Sep 2014 15:29:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 98DFCE0AC4; Thu, 25 Sep 2014 15:28:54 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6216BE0AA8 for ; Thu, 25 Sep 2014 15:28:53 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 5C70A33FB12 for ; Thu, 25 Sep 2014 15:28:52 +0000 (UTC) X-Virus-Scanned: by amavisd-new using ClamAV at gentoo.org X-Spam-Flag: NO X-Spam-Score: -1.658 X-Spam-Level: X-Spam-Status: No, score=-1.658 tagged_above=-999 required=5.5 tests=[AWL=-1.423, DKIM_ADSP_CUSTOM_MED=0.001, FREEMAIL_FROM=0.001, NML_ADSP_CUSTOM_MED=1.2, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=-0.735, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=no Received: from smtp.gentoo.org ([IPv6:::ffff:127.0.0.1]) by localhost (smtp.gentoo.org [IPv6:::ffff:127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sLxllRIOTKum for ; Thu, 25 Sep 2014 15:28:45 +0000 (UTC) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C49E933BF44 for ; Thu, 25 Sep 2014 15:28:44 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XXAyH-0007hY-UI for gentoo-user@gentoo.org; Thu, 25 Sep 2014 17:28:41 +0200 Received: from dsl.comtrol.com ([64.122.56.22]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 25 Sep 2014 17:28:41 +0200 Received: from grant.b.edwards by dsl.comtrol.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 25 Sep 2014 17:28:41 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: Grant Edwards Subject: [gentoo-user] Re: /dev/ttyUSB* group changed from uucp to root? Date: Thu, 25 Sep 2014 15:28:29 +0000 (UTC) Message-ID: References: <20140924221330.02ecb0ee@hactar.digimed.co.uk> X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: dsl.comtrol.com User-Agent: slrn/1.0.1 (Linux) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Archives-Salt: e741ddbb-e1a4-4365-a265-8efef923af1f X-Archives-Hash: e75dc5e1ce5b6de7f49eb1bd666b9ab6 On 2014-09-25, Mike Gilbert wrote: > On Wed, Sep 24, 2014 at 6:28 PM, Grant Edwards > wrote: >> On 2014-09-24, Neil Bothwick wrote: >>> On Wed, 24 Sep 2014 19:42:56 +0000 (UTC), Grant Edwards wrote: >>> >>>> After an update yesterday, I've noticed that the group assigned to >>>> ttyUSB devices has changed from uucp to root. Non-USB serial ports >>>> still seem to be uucp. >>> >>> What did you update? They are still root:uucp here. >> >> Several things got updated, but the most likely suspect is probably >> sys-fs/udev-215-r1 => sys-fs/udev-216. But, I don't see any changes >> in the default rules to account for the change in behavior. >> > > I'm running systemd-216, and I see this in > /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="uucp" > > I suppose it is possible that some later rule overrides it, but I > don't see anything obvious. Yes, I saw that rule (and it hasn't changed recently). I also have a rule that creates a symlink for a certain USB-serial adapter in /etc/udev/rules.d/99-user.rules: SUBSYSTEMS=="usb",\ ATTRS{product}=="FT232R USB UART",\ ATTRS{serial}=="AH026Q3X",\ KERNEL=="ttyUSB*",\ SYMLINK+="ttyDBG",\ GROUP="uucp" I didn't used to need to set the GROUP in that rule, the device file just defaulted to having a group of uucp. Yesterday, I had to add the "GROUP" command to get the behavior I always used to get without it. -- Grant Edwards grant.b.edwards Yow! My haircut is totally at traditional! gmail.com