LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   /dev/null (https://www.linuxquestions.org/questions/linux-newbie-8/dev-null-360353/)

linuxprogrammer 09-05-2005 07:58 AM

/dev/null
 
I am using Suse Linux.

As soon as I open a terminal, the following statements are displayed before the prompt (its the same statement that is printed 4 times)

bash: /dev/null: Permission denied
bash: /dev/null: Permission denied
bash: /dev/null: Permission denied
bash: /dev/null: Permission denied

Then when i try to start mozilla from the prompt, the following are displayed on the terminal

/usr/bin/mozilla: line 56: /dev/null: Permission denied
/usr/bin/mozilla: line 107: /dev/null: Permission denied
/usr/bin/mozilla: line 124: /dev/null: Permission denied

I can not even open mozilla from the KMenu.

But when I login as root, none of these problems occur.

What is the problem?

Do I have to change the permissions of /dev/null? The current permissions are -rw-r--r-, and its owner is root. And what is /dev/null meant for?

okmyx 09-05-2005 08:07 AM

This link has the commands to reset the permissions on /dev/null

http://lists.suse.com/archive/suse-l...-Jun/2869.html

/dev/null is explained at

http://en.wikipedia.org/wiki//dev/null


All times are GMT -5. The time now is 08:39 AM.