RE: [Dri-devel] chown /dev/dri/card0, system crashes

2002-01-30 Thread Alexander Stohr
It's puzzling that chown-chmod would have any baleful effect. With a plain file, once you've opened it you can monkey with the inode all you want and the filehandle remains valid, and similarly with devfs the various device inodes (/dev/misc/psaux, modem TTY, etc.) can be chowned even

Re: [Dri-devel] chown /dev/dri/card0, system crashes

2002-01-30 Thread Jim Carter
On Tue, 29 Jan 2002, Bill Currie wrote: On Tue, Jan 29, 2002 at 04:46:32PM -0800, Jim Carter wrote: However, when the current user did not have permission to write on card0 (due to mode 0660 group video, the default provided by SuSE SaX2) Wouldn't it be better to add the user to group

Re: [Dri-devel] chown /dev/dri/card0, system crashes

2002-01-29 Thread Bill Currie
On Tue, Jan 29, 2002 at 04:46:32PM -0800, Jim Carter wrote: However, when the current user did not have permission to write on card0 (due to mode 0660 group video, the default provided by SuSE SaX2) Wouldn't it be better to add the user to group video? Bill -- Leave others their otherness.

Re: [Dri-devel] chown /dev/dri/card0, system crashes

2002-01-28 Thread Ian Romanick
OpenGL applications successfully use DRI, e.g. glxgears gets 628 fps vs. 220 fps without DRI. I added /dev/dri/card0 to /etc/logindevperm, so xdm would chown-chmod the device to $USER 600 at login, and root 600 when the session ends. Users can log in, but when they log out the system