On 23/04/13 15:54, Guillaume Gardet wrote:
Le 23/04/2013 00:34, Dirk Müller a écrit :
2013/4/22 Guillaume Gardet <guillaume.gardet@free.fr>:
Hi Guillaume,
what is the right way to add users to video group automatically? The right way is to not do that at all :)
Really? On my desktop computer my username is in video group.
For example, we would need it to run some video tests using /dev/dri/* files.
ll -h /dev/dri/ total 0 crw-rw----+ 1 root video 226, 0 avril 22 16:38 card0 crw-rw---- 1 root video 226, 64 avril 22 16:38 controlD64 I think the way it should work is that logind should determine that you're a locally logged in user and do a setfacl on your device to grant you access in *addition* to those who are in group video.
in this case it seems there was no facl set, did logind think that you're locally logged in?
How to check?
Guillaume
Greetings Dirk
# grep video /etc/group video:x:33:lancelot,andrea,gdm You can edit /etc/group and add users like I did here for users lancelot,andrea. Regards Sid. -- Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support Senior Staff Specialist, Cricket Coach Microsoft Windows Free Zone - Linux used for all Computing Tasks -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org