Try checking a file called /etc/udev/permissions.d/50-udev.permissions, this 
file sets the permissions of devices during boot.  My line in that file is:

null:root:root:0666

which sets the permissions to 0666 which is what you expect.

I had problems with some other devices, like misc/nvram, and had to make 
modifications to the file.

                              Sean

On Thursday 14 July 2005 05:07 am, renna wrote:
> hi to all
> i'm having some problems, with, i think, the permissions
> of /dev/null /dev/console and /dev/zero. every time i boot they're set up
> to 660, like this
>
> crw-rw----  1 renna root 5, 1 Jul 13 17:04 /dev/console
> crw-rw----  1 root  root 1, 3 Apr  9 06:31 /dev/null
> crw-rw----  1 root  root 1, 5 Apr  9 06:31 /dev/zero
>
> so when i login as a normal user, i get
> /dev/null: Permission denied
>
> and i have to
> chmod 666 /dev/null
>
> to be able to login in kde
>
> furthermore, in kde, when i launch konsole, the window of konsole shows up,
> but there's only the cursor blinking, and i cannot enter commands - i have
> to ctrl+alt+fn to a terminal
> and allways in kde, when i launch a program that requires root's password,
> as kuser, i get a window with this message
>
> The program 'su' is not found;
> make sure your PATH is set correctly.
>
> though su, which is perfectly working in a terminal, is in /bin which IS in
> my PATH
>
> i really don't know if these problems in kde are correlated with the
> permissions in dev, but on google i found many persons having problems with
> udev and having more or less the same problems (though i couldn't find a
> solution to my case). i tried, as explained on
> http://www.gentoo.org/doc/en/udev-guide.xml#doc_chap3
> to mknod new null and console in /dev, but when i boot the permissions are
> again set to 660.
> does somebody have an idea of what i should do? if there's some information
> i lacked to give please ask
> thanks

-- 
Sean Higgins, [EMAIL PROTECTED]
http://www.systura.com - "Where information becomes knowledge."
-- 
gentoo-user@gentoo.org mailing list

Reply via email to