Re: Moving Ubuntu to upstream udev rules

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Dec 20, 2008 at 12:12 AM, Piter PUNK <piterpunk@xxxxxxxxxxxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux