Feb 2, 2013

openSUSE Forums: preventing group change for files

openSUSE Forums
openSUSE Forums
preventing group change for files
Feb 2nd 2013, 11:51

Greetings.
I have encountered a somewhat puzzling problem, which is as follows:
To run NVIDIA CUDA applications on OS I need to have read-write access to:
/dev/nvidia0
/dev/nvidiactl
At least this is what I've found on stackexchange as a proposed cause of the message that the compiled application can not find any CUDA enabled device although the PC has one.
The solution proposed was as follows:
1. change ownership of both files to root:root (user:group)
1. change privileges to 666 (rw-rw-rw-)
Being logged in as root I can do that - no problem in changing anything.

Now to the puzzling part:
If I log in as a normal user the problem of not being able to execute anything persists.
Looking at the files mentioned I then found, that:
1. the group for both files changes to 'video'
2. permissions change to 'rw-rw----'
My question now is:
Why do these changes occur automatically and how can I prevent the change of the group for these files?
Additional information:
System: openSuSe 11.4
Kernel: 2.6.37.6-24-desktop
Authentication: LDAP - based
GPU: NVIDIA GT 630

Thanks in advance.

You are receiving this email because you subscribed to this feed at blogtrottr.com.

If you no longer wish to receive these emails, you can unsubscribe from this feed, or manage all your subscriptions

No comments: