Bug#334847: xserver-xorg: DRM char device isn't chmod 666
Le vendredi 21 octobre 2005 à 11:09 +0200, Michel Dänzer a écrit :
> On Thu, 2005-10-20 at 12:21 +0200, Xavier Bestel wrote:
> > On Thu, 2005-10-20 at 12:09, Michel Dänzer wrote:
> > > On Thu, 2005-10-20 at 11:06 +0200, Xavier Bestel wrote:
> > > >
> > > > When starting Xorg, I have to manually chmod 666 the DRM char device
> > > > sometimes.
> > >
> > > Sounds like something else changes it to something else behind the X
> > > server's back, most likely udev. You should be able to change what it
> > > sets in /etc/udev/permissions.rules.
> >
> > /etc/udev/permissions.rules has that:
> > SUBSYSTEM=="drm", GROUP="video"
> > but /dev/dri/card0 is still 660 root.root
>
> Do you also still have the
> file /etc/udev/permissions.d/udev.permissions? If yes, what does its
> entry for 'dri/card[0-9]' say?
dri/card[0-9]*:root:video:0660
I added myself in the video group, and now it works well.
Apparently udev and Xorg race changing the mode. I think I'll simply
remove the mode change in xorg.conf, and maybe that should be the
default.
Xav
Reply to: