Gentoo Archives: gentoo-user

From: Neil Bothwick <neil@××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: /dev/ttyUSB* group changed from uucp to root?
Date: Sat, 27 Sep 2014 07:19:03
Message-Id: 274a0ae1-1084-4c5c-98c1-acae83dda44b@email.android.com
In Reply to: Re: [gentoo-user] Re: /dev/ttyUSB* group changed from uucp to root? by Samuli Suominen
1 On 27 September 2014 03:08:15 BST, Samuli Suominen <ssuominen@g.o> wrote:
2 >
3 > On 26/09/14 20:59, Mike Gilbert wrote:
4 > > On Fri, Sep 26, 2014 at 12:12 PM, Grant Edwards
5 > > <grant.b.edwards@×××××.com> wrote:
6 > >> Which sets the group to 0 (root). The weird thing is that I don't
7 > >> know where that file came from. Dong an "equery belongs" doesn't
8 > show
9 > >> it belonging to any package. I do have dev-embedded/openocd
10 > installed,
11 > >> but it doesn't own that file... But, doing an emerge -C openocd
12 > >> removed the file /lib64/udev/rules.d/99-openocd.rules.
13 > >>
14 > > udev rules get installed to /lib/udev/rules.d, not
15 > /lib64/udev/rules.d.
16 > >
17 > > Most Gentoo systems have a symlink at /lib pointing at /lib64, but
18 > > equery does not look at this. It only looks at the contents of
19 > > /var/db/pkg/*/*/CONTENTS, which would contain lib instead of lib64.
20 > >
21 >
22 > That's why latest portage-utils supports:
23 >
24 > # qfile -b -v 99-openocd.rules
25 >
26 > The new -b argument allows to skip the directory.
27 >
28 > - Samuli
29
30 Nice! Thanks for the hint.
31 --
32 Sent from my Android phone with K-9 Mail. Please excuse my brevity.