From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Dan Nicholson" Date: Sat, 20 Dec 2008 18:33:27 +0000 Subject: Re: Moving Ubuntu to upstream udev rules Message-Id: <91705d080812201033x30871f52v17c9aef4a94ed038@mail.gmail.com> List-Id: References: <1229669228.14012.30.camel@quest> In-Reply-To: <1229669228.14012.30.camel@quest> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Sat, Dec 20, 2008 at 12:12 AM, Piter PUNK wrote: > Kay Sievers wrote: >> >> On Fri, 2008-12-19 at 06:47 +0000, Scott James Remnant wrote: > >>> permissions >>> >>> dri/card* 666 ???!!! > > I think this is overwrited by xorg.conf setting i don't have any > rule changing this permission and ther permissions here are 660: > > crw-rw---- 1 root video 226, 0 2008-12-20 03:33 /dev/dri/card0 > > I guess 660 is the default of Xorg without an Mode directive > in DRI section in xorg.conf. The "video" group here is from > one of few slackware custom rules. (maybe another one that > can vanishes in the air?) It's actually libdrm that creates this node on behalf of Xorg. However, newer libdrm releases can be built with --enable-udev so that they just wait for the node to show up from udev and don't change the mode/owner at all. If that configuration is not used or the node doesn't show up from udev, the default in libdrm is root:root 660. -- Dan