proper setup of /dev/dri for normal users?
The permissions on /dev/dri look like the following by default:
# ls -la /dev/dri
total 23
drwxrwx--- 2 root root 1024 Aug 10 19:08 ./
drwxr-xr-x 6 root root 21504 Oct 4 16:12 ../
crw-rw---- 1 root root 226, 0 Aug 10 19:08 card0
What is the "correct" way to allow ordinary (i.e. non-root) users to
access this device?
I have been setting the directory permission on /dev/dri to 777 and
/dev/dri/card0 to 666. But this probably isn't the correct approach, and
these permissions seem to reset back to default.
Should I make a "3d" group or something like that? If I do, will the
device ownership always fall back to root.root?
Thanks!
Matt
--
Matt Garman, garman@uiuc.edu
"I'll tip my hat to the new constitution, Take a bow for the new revolution
Smile and grin at the change all around, Pick up my guitar and play
Just like yesterday, Then I'll get on my knees and pray..."
-- Pete Townshend/The Who, "Won't Get Fooled Again"
Reply to: