Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-05-2005, 06:58 AM   #1
LQ Newbie
Registered: Jul 2004
Posts: 26

Rep: Reputation: 15
Question /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?
Old 09-05-2005, 07:07 AM   #2
Registered: May 2004
Location: Cornwall, UK
Distribution: Ubuntu 8.04
Posts: 464

Rep: Reputation: 31
This link has the commands to reset the permissions on /dev/null

/dev/null is explained at


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
What would happen if I where to cat /dev/mem > /dev/null Joey.Dale Linux - General 11 07-26-2009 12:46 PM
/dev/null samek Linux - Software 2 12-11-2004 10:18 AM
mv c:\WINDOWS /dev/null; mount /dev/hda treehead Member Intro 5 10-19-2004 08:53 AM
/dev/null jon_k Linux - Hardware 5 07-16-2003 02:40 PM
>/dev/null lackluster Linux - Networking 5 06-27-2002 09:54 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:43 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration