Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Thread Tools
Old 04-06-05, 10:57 PM   #1
Registered User
Join Date: Apr 2005
Posts: 1
Default chmod 0666 /dev/nvidia* chown root /dev/nvidia*

I followed what the readme file says:
Step 1: edit /etc/initab file to boot to a vga console.
Step 2: "sh NVIDIA-Linux-x86-1.0-7174-pkg1.run"
Step 3: install
Step 4: Edit X config file, replace the line: Driver "nv" with Driver "nvidia"
In the Module section, make sure you have: Load "glx"
You should also remove the following lines: Load "dri" Load "GLcore"

After install, I run an opengl app and get

"Error: Could not open /dev/nvidiactl because the permissions
are too restrictive. Please see the FREQUENTLY ASKED QUESTIONS section of /usr/share/doc/NVIDIA_GLX-1.0/README
for steps to correct."

I queryed the readme file, and edit "/etc/security/console.perms" and remove the line that starts with "<dri>".

Then the readme file says:
"Next, you will need to reset the permissions on the device files back to their original permissions and owner.
You can do that with the following commands:
chmod 0666 /dev/nvidia* chown root /dev/nvidia*

But when I typed "chmod 0666 /dev/nvidia* chown root /dev/nvidia*",
the console said that it can not find "chown" and "root" directories.
What "chown" and "root" mean?

After restarting my OS, then only the root can run opengl app, and others can not and show above error message.

How can I repair this situation, thanks.
ylzhao is offline   Reply With Quote
Old 04-06-05, 11:01 PM   #2
Registered User
Join Date: May 2004
Posts: 10
Default Re: chmod 0666 /dev/nvidia* chown root /dev/nvidia*

The readme file is slightly misleading.

It should read as two separate commands;

chmod 0666 /dev/nvidia*

chown root /dev/nvidia*

Hope this works for you
cheekster is offline   Reply With Quote
Old 04-07-05, 01:12 AM   #3
Registered User
Join Date: Jun 2004
Posts: 94
Default Re: chmod 0666 /dev/nvidia* chown root /dev/nvidia*

What "chown" and "root" mean?

"chown" is the UNIX command for changing the "owner" of the file. The first octal in the permissions number gives the permissions of the user or UID (user ID) set as "owner".

Compare to "chgrp", which sets the "group" the file belongs to.

"root" is the all-powerful God-user of UNIX systems. It is akin to the Administrator user on modern Windows systems. It has a UID of 0 and a GID of 0.
silentplummet is offline   Reply With Quote
Old 04-07-05, 08:35 AM   #4
Registered User
Join Date: May 2004
Posts: 11
Default Re: chmod 0666 /dev/nvidia* chown root /dev/nvidia*

If you have problems with this changing back on you. You may be able to edit /etc/udev/permissions.d/50-udev.permissions (Suse 9.2) so that the nvidia lines look like this:


This has stopped many a headache for me.
danieljh is offline   Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

All times are GMT -5. The time now is 05:22 AM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.