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

Re: permissions on /dev/nvidia*



(Your mail was in my gmail spam folder -- which is why I noticed it :)

> to solve the problem i tried to edit the init.d/nvidia-kernel script and replaced the line
>        mknod -m 0660 dev/nvidiactl c 195 255
> with
>        mknod -m 0666 dev/nvidiactl c 195 256

Wondering why you changed the minor number (255 to 256), if all you
wanted to do is changing the permission.

Also, maybe for a little more security instead of changing to world
accessible you want to change the group instead (video -> users) (or
maybe even better you find a way to change the owner to the user that
is owning the X session; I don't know exactly what's possible to
access through these devices, but I guess it might really be more than
you would like).

I don't know why the device was changing back; maybe run strace
(perhaps with a filter for mknod, chmod, fchmod, fchmodat) on all
relevant processes like X, login manager..

Also, I've never used LDAP but perhaps it would be possible to give
users authenticating through LDAP to get the video group automatically
(statically configured)?

Ch.


Reply to: