Software working in root but not working in user accounts
Some of my programming tools are working absolutely fine in root on my Fedora 10 machine, but when I login as other users (non-root accounts), and use it, it is not working and I get the message: commands not found.
Any idea how can solve this issue?
I will aprecaite your replies and thanks in advance for your time.
Thanks and regards,
If you installed the application as root, it probably has set the permissions for root.
Do you know where the application is?
if so, simply check the permissions on folder(s) and file(s) or at least on the file you run to start the application.
just a thought.
Thanks for your reply. :-)
I am providing you further details here:
1-The command that I want to run from non-root account: nvcc
[root@Heshsham]# locate nvcc
this shows that nvcc is located in /usr/local/cuda
so I did chmod -R 777 /usr/local/cuda.
3-File permission of /usr/local/cuda
[root@Heshsham]# ls -ld /usr/local/cuda
drwxrwxrwx 10 root root 4096 2009-12-13 21:21 /usr/local/cuda
(I did chmod -R 777 /usr/local/cuda so I got drwxrwxrwx)
which shows that root (owner), group and other users all have the permissions to read, write and execute the contents of /usr/local/cuda.
Now when I run nvcc from root it works fine as intended. However, when I login as non-root account it prints the following message:
-bash: nvcc: command not found
What do you think? Where is the problem?
|All times are GMT -5. The time now is 07:30 PM.|