Right, so i was updating my gentoo system with "emerge -uD world" and when it finished i found that when i logged into any non-root account i didn't have access to /dev/null. When i change permissions on /dev/null using chmod 666 it keeps the permissions until i reboot, then they revert. Also when I'm in my gui, xfce4, i cant get xterm or xfterm4 to start and when i run xmms i get an "failed to open ALSA 1.2.10 output plugin" error, which i've never gotten before. I assume it's something wrong with permission because when i login as root everything works perfectly.
Any help you guys could offer would be much appreciated, I'm still more or less a newbie to the linux world. Thanks.
you are hopfully using udev if so make sure "/etc/udev/permissions.d/50-udev.permissions" contains the line:
in the section titled #Memory devices
also under #audio devices check that permissions are 0660
have you run etc-update recently? do you have config files that need updating or have you accidently overwritten some config?
hmm, instead of 666 try 777 on /dev. Does this problem happen when logged into root as well?
why? 0777? 0666 should work fine. 0777 would mean that anyone and everyone can have full read write and execute access to /dev/null
i had to use 777 once on my laptop after my very first gentoo install when I had the same problem, it got it working long enough for me to do some pressing work, and then later on I manually reset permissions--took some time but...--interestingly enough, that is the only gentoo install that I ever had that problem with
ok, but for this problem 0666 should be fine.. its the default setting and works on everyone elses system.
I am having the EXACT same problems, after the EXACT same command... I checked the file you mentioned, it has all permissions correct, however every reboot the problem comes back...
Anyone got some insight into this? Or do the gentoo build scripts have serious bugs that no one has found yet?
Do the permissions change back after reboot, or is the problem there and the permissions have remained?
I change the permissions once the system is booted, but after every reboot they go back to strange things. 640 for /dev/null... Sound does not work for any user either, but I can't find why on that one yet. Furthermore, xterm shells can not be opened by any user other than root.
I have searched every init file I can think of, and can't find ANYTHING that's setting this permission. I thought I knew linux, but this one has be going nuts...
Please someone give me ideas...
(not including a re-install please)
is your user in the correct user groups?
are important ones for a start