LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 09-05-2005, 07:58 AM   #1
linuxprogrammer
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, 08:07 AM   #2
okmyx
Member
 
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

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

/dev/null is explained at

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


Reply


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 01:46 PM
/dev/null samek Linux - Software 2 12-11-2004 11:18 AM
mv c:\WINDOWS /dev/null; mount /dev/hda treehead LinuxQuestions.org Member Intro 5 10-19-2004 09:53 AM
/dev/null jon_k Linux - Hardware 5 07-16-2003 03:40 PM
>/dev/null lackluster Linux - Networking 5 06-27-2002 10:54 PM


All times are GMT -5. The time now is 06:03 PM.

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