LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 01-18-2007, 06:22 AM   #1
sagar.1986
LQ Newbie
 
Registered: Nov 2006
Posts: 20

Rep: Reputation: 0
/dev/null permission denied


Hi,
I was messing around with x-configurations and setting up of a dual head, however now, when i restart X, i cant login to X. It gives an error --/dev/null permission denied. I can login from root though. the permissions of /dev/null is crwx------ .If i change it to crwxrwxrwx then i can login from other users
to X . But when i restart the computer the permissions revert back to crwx------.

How do i change the permissions of /dev/null to crwxrwxrwx permanently? Where will all these settings be saved?
 
Old 01-18-2007, 06:56 AM   #2
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 52
As you didn't mention your distro, let's assume it uses udev
you have to look at /etc/udev/permissions.rules, the line should be:
KERNEL=="null", MODE="0666"

Could also be this, depending on your udev version:
KERNEL="null", MODE="0666"
 
Old 01-18-2007, 03:00 PM   #3
sagar.1986
LQ Newbie
 
Registered: Nov 2006
Posts: 20

Original Poster
Rep: Reputation: 0
I use ubuntu 6.06.1 LTS. The settings of /etc/udev/rules.d/permissions.rules is :
KERNEL=="NULL" ,MODE="0666". The udev service is on in all the runlevels. But i am still facing the same problem. Why?
 
Old 01-18-2007, 03:50 PM   #4
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 52
Maybe another rule is overriding this one. ??
Try udevtest to check how rules are applied.

Are you using an initrd? I'm not sure when /dev/null is created but you should also check the rules in the initrd.
 
Old 01-19-2007, 03:39 PM   #5
sagar.1986
LQ Newbie
 
Registered: Nov 2006
Posts: 20

Original Poster
Rep: Reputation: 0
Can you be more specific? How to use udevtest? I am using initrd...
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
/dev/null: Permission Denied dsschanze Red Hat 3 10-13-2006 01:38 PM
/dev/null: Permission denied phoenix7 Linux - Distributions 1 10-01-2005 06:31 PM
slackware /dev/null permission denied reddazz Slackware 8 03-09-2005 07:56 PM
Konsole = /dev/null: permission denied????? ithawtewrong Linux - Newbie 3 09-23-2004 05:39 PM
/dev/null: Permission denied LavaDevil94 Linux - Software 2 09-14-2004 11:44 PM


All times are GMT -5. The time now is 01:35 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration