LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Nvidia Driver Permission denied (https://www.linuxquestions.org/questions/slackware-14/nvidia-driver-permission-denied-806637/)

SavoTU 05-08-2010 07:25 AM

Nvidia Driver Permission denied
 
I have just updated to the latest current and am unable to install the Nvidia driver.

It was working before on the 2.6.33.2 kernel but am getting permission denied now.

Quote:

root@home:~# sh NVIDIA-Linux-x86-173.14.25-pkg1.run
Verifying archive integrity... OK
Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86 173.14.25........................................................................................... .................................................................................................... ..............................................................................................
NVIDIA-Linux-x86-173.14.25-pkg1.run: line 958: ./nvidia-installer: Permission denied

mlangdn 05-08-2010 09:29 AM

Make sure X is not running.

SavoTU 05-08-2010 09:40 AM

Thanks its not and not even getting far enough to check.

H_TeXMeX_H 05-08-2010 10:57 AM

Make the installer file executable.

SavoTU 05-08-2010 12:25 PM

I tried that as well even though calling it with sh has saved me from having to do that in the past.

H_TeXMeX_H 05-08-2010 02:07 PM

That's unusual, it looks like you're running it as root. Are you sure it is not corrupt, try downloading again.

SavoTU 05-08-2010 02:28 PM

You are thinking along the same lines as me.

Things i have tried

reboot selecting huge kernel at lilo
checking i am root
older driver version (have a few)
re-downloaded

All give the same error its not even getting far enough to write an error log so i don't know where to go from here.

SavoTU 05-08-2010 02:56 PM

I don't know if this is relevant but i have just been trying to install mozilla-nss (3.12.4) from slackbuilds.org and getting another Permission denied problem.

If someone could try building the package under current and let me know if my system is screwed again that would be nice. Or if someone has any ideas that would be even better.

Quote:

cd ../coreconf ; make
make[1]: Entering directory `/tmp/SBo/nss-3.12.4-with-nspr-4.8/mozilla/security/coreconf'
cd nsinstall; make export
make[2]: Entering directory `/tmp/SBo/nss-3.12.4-with-nspr-4.8/mozilla/security/coreconf/nsinstall'
make[2]: Nothing to be done for `export'.
make[2]: Leaving directory `/tmp/SBo/nss-3.12.4-with-nspr-4.8/mozilla/security/coreconf/nsinstall'
cd nsinstall; make libs
make[2]: Entering directory `/tmp/SBo/nss-3.12.4-with-nspr-4.8/mozilla/security/coreconf/nsinstall'
true -m 775 Linux2.6_x86_glibc_PTH_OPT.OBJ/nsinstall ../../../dist/Linux2.6_x86_glibc_PTH_OPT.OBJ/bin
make[2]: Leaving directory `/tmp/SBo/nss-3.12.4-with-nspr-4.8/mozilla/security/coreconf/nsinstall'
make[1]: Leaving directory `/tmp/SBo/nss-3.12.4-with-nspr-4.8/mozilla/security/coreconf'
../coreconf/nsinstall/Linux2.6_x86_glibc_PTH_OPT.OBJ/nsinstall -D ../../nsprpub/Linux2.6_x86_glibc_PTH_OPT.OBJ
make: execvp: ../coreconf/nsinstall/Linux2.6_x86_glibc_PTH_OPT.OBJ/nsinstall: Permission denied
make: *** [../../nsprpub/Linux2.6_x86_glibc_PTH_OPT.OBJ/config.status] Error 127

mozilla-nss:

H_TeXMeX_H 05-08-2010 03:10 PM

Make sure the permissions of /tmp are:

Code:

drwxrwxrwt  7 root root 1585152 2010-05-08 22:13 tmp

SavoTU 05-08-2010 03:28 PM

tmp is almost the same as yours has a 16 where you have 7 does that matter?

Quote:

drwxrwxrwt 16 root root 4096 2010-05-08 20:49 tmp/
Just thought i have been able to install other packages, i manage to build and install chrome with sbopkg which is why i now need the nss package

SavoTU 05-09-2010 01:48 PM

I have checked google again today for both the nvidia and nss problems and have come up with nothing.

Does anyone have any ideas where i should be looking or which packages from the last few updates could have caused this? I have tried reinstalling the kernel packages with no change and will no work back through the changelogs 1 by 1.

mlangdn 05-09-2010 02:20 PM

The permissions problem may be resolved by a change in ownership or group. I would make sure that the directories (excluding /home, of course) you are working out of have the correct owner and group. For example, /tmp should be owned by root and the group should be root. I feel that something has messed up your root ownership and possibly group thingy. That happened to me once before, and I had to change an entire directory and all subfolders to get it back. I have no clue as to what the cause was.

SavoTU 05-09-2010 02:26 PM

I have messed up permisons in the past a few time. Once with a poorly edited slackbuild script i changed half my home dir to root.

Thanks i will take a look and see if i can see any thing.

damgar 05-09-2010 02:28 PM

I re-installed the Nvidia driver when I upgraded to current so I don't think it's an inherent issue with -current.

pg99 05-09-2010 02:36 PM

Quote:

Originally Posted by damgar (Post 3962453)
I re-installed the Nvidia driver when I upgraded to current so I don't think it's an inherent issue with -current.

I also have the latest (updated yesterday) -current with 2.6.33.3 kernel and yesterday I re-installed nvidia driver with no problems. driver file was NVIDIA-Linux-x86-195.36.24-pkg1.run for GeForce 9500gt.

Also I just tried that mozilla-nss package from sbo and it built and installed just fine.

Sorry looks like a specific problem with your permissions rather than a general problem with current.


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