* [gentoo-user] problems with udev
@ 2005-07-14 9:07 renna
2005-07-14 10:51 ` Volker Armin Hemmann
2005-07-14 10:52 ` Sean Higgins
0 siblings, 2 replies; 7+ messages in thread
From: renna @ 2005-07-14 9:07 UTC (permalink / raw
To: gentoo-user
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
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] problems with udev
2005-07-14 9:07 [gentoo-user] problems with udev renna
@ 2005-07-14 10:51 ` Volker Armin Hemmann
2005-07-14 17:24 ` Daniel Drake
2005-07-14 10:52 ` Sean Higgins
1 sibling, 1 reply; 7+ messages in thread
From: Volker Armin Hemmann @ 2005-07-14 10:51 UTC (permalink / raw
To: gentoo-user
On Thursday 14 July 2005 11:07, 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
I switched last night from devfs to udev and had the same kde problem.
I solved it by running udevstart as root. Oh, and I checked the permissions
file in /etc/udev
Now I have the problem thatthe module for my scsi-controller is loaded
everytime (loosing a lot of time at boot) and the soundcards are detected in
the wrong order ...
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] problems with udev
2005-07-14 10:51 ` Volker Armin Hemmann
@ 2005-07-14 17:24 ` Daniel Drake
0 siblings, 0 replies; 7+ messages in thread
From: Daniel Drake @ 2005-07-14 17:24 UTC (permalink / raw
To: gentoo-user
Volker Armin Hemmann wrote:
> I switched last night from devfs to udev and had the same kde problem.
> I solved it by running udevstart as root. Oh, and I checked the permissions
> file in /etc/udev
If running 'udevstart' fixes your ownership/permissions problem, try logging
in again and see if the problem reappears. If it does, then it means something
is running on login and imposing its own permissions. This is probably pam,
which you'll want to turn off.
Daniel
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] problems with udev
2005-07-14 9:07 [gentoo-user] problems with udev renna
2005-07-14 10:51 ` Volker Armin Hemmann
@ 2005-07-14 10:52 ` Sean Higgins
2005-07-14 12:41 ` Dirk Heinrichs
2005-07-14 13:12 ` renna
1 sibling, 2 replies; 7+ messages in thread
From: Sean Higgins @ 2005-07-14 10:52 UTC (permalink / raw
To: gentoo-user
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, sean@systura.com
http://www.systura.com - "Where information becomes knowledge."
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] problems with udev
2005-07-14 10:52 ` Sean Higgins
@ 2005-07-14 12:41 ` Dirk Heinrichs
2005-07-19 0:23 ` Neil Bothwick
2005-07-14 13:12 ` renna
1 sibling, 1 reply; 7+ messages in thread
From: Dirk Heinrichs @ 2005-07-14 12:41 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 676 bytes --]
Am Donnerstag, 14. Juli 2005 12:52 schrieb ext Sean Higgins:
> Try checking a file called /etc/udev/permissions.d/50-udev.permissions,
> this file sets the permissions of devices during boot.
No. This has already changed since more than 10 versions of udev.
Permissions are now set in /etc/udev/rules.d/50-udev.rules.
Bye...
Dirk
--
Dirk Heinrichs | Tel: +49 (0)162 234 3408
Configuration Manager | Fax: +49 (0)211 47068 111
Capgemini Deutschland | Mail: dirk.heinrichs@capgemini.com
Hambornerstraße 55 | Web: http://www.capgemini.com
D-40472 Düsseldorf | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: www.keyserver.net
[-- Attachment #2: Type: application/pgp-signature, Size: 190 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] problems with udev
2005-07-14 10:52 ` Sean Higgins
2005-07-14 12:41 ` Dirk Heinrichs
@ 2005-07-14 13:12 ` renna
1 sibling, 0 replies; 7+ messages in thread
From: renna @ 2005-07-14 13:12 UTC (permalink / raw
To: gentoo-user
On Thursday 14 July 2005 12:52, Sean Higgins wrote:
> 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
>
uops i realized i hadn't done an etc-update after emerging udev. doing it
adjusted some files in /etc/udev and now everything works. thanks to all
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2005-07-19 0:29 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-14 9:07 [gentoo-user] problems with udev renna
2005-07-14 10:51 ` Volker Armin Hemmann
2005-07-14 17:24 ` Daniel Drake
2005-07-14 10:52 ` Sean Higgins
2005-07-14 12:41 ` Dirk Heinrichs
2005-07-19 0:23 ` Neil Bothwick
2005-07-14 13:12 ` renna
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox