/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? |
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" |
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? |
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. |
Can you be more specific? How to use udevtest? I am using initrd...
|
All times are GMT -5. The time now is 09:39 PM. |