1 |
Try checking a file called /etc/udev/permissions.d/50-udev.permissions, this |
2 |
file sets the permissions of devices during boot. My line in that file is: |
3 |
|
4 |
null:root:root:0666 |
5 |
|
6 |
which sets the permissions to 0666 which is what you expect. |
7 |
|
8 |
I had problems with some other devices, like misc/nvram, and had to make |
9 |
modifications to the file. |
10 |
|
11 |
Sean |
12 |
|
13 |
On Thursday 14 July 2005 05:07 am, renna wrote: |
14 |
> hi to all |
15 |
> i'm having some problems, with, i think, the permissions |
16 |
> of /dev/null /dev/console and /dev/zero. every time i boot they're set up |
17 |
> to 660, like this |
18 |
> |
19 |
> crw-rw---- 1 renna root 5, 1 Jul 13 17:04 /dev/console |
20 |
> crw-rw---- 1 root root 1, 3 Apr 9 06:31 /dev/null |
21 |
> crw-rw---- 1 root root 1, 5 Apr 9 06:31 /dev/zero |
22 |
> |
23 |
> so when i login as a normal user, i get |
24 |
> /dev/null: Permission denied |
25 |
> |
26 |
> and i have to |
27 |
> chmod 666 /dev/null |
28 |
> |
29 |
> to be able to login in kde |
30 |
> |
31 |
> furthermore, in kde, when i launch konsole, the window of konsole shows up, |
32 |
> but there's only the cursor blinking, and i cannot enter commands - i have |
33 |
> to ctrl+alt+fn to a terminal |
34 |
> and allways in kde, when i launch a program that requires root's password, |
35 |
> as kuser, i get a window with this message |
36 |
> |
37 |
> The program 'su' is not found; |
38 |
> make sure your PATH is set correctly. |
39 |
> |
40 |
> though su, which is perfectly working in a terminal, is in /bin which IS in |
41 |
> my PATH |
42 |
> |
43 |
> i really don't know if these problems in kde are correlated with the |
44 |
> permissions in dev, but on google i found many persons having problems with |
45 |
> udev and having more or less the same problems (though i couldn't find a |
46 |
> solution to my case). i tried, as explained on |
47 |
> http://www.gentoo.org/doc/en/udev-guide.xml#doc_chap3 |
48 |
> to mknod new null and console in /dev, but when i boot the permissions are |
49 |
> again set to 660. |
50 |
> does somebody have an idea of what i should do? if there's some information |
51 |
> i lacked to give please ask |
52 |
> thanks |
53 |
|
54 |
-- |
55 |
Sean Higgins, sean@×××××××.com |
56 |
http://www.systura.com - "Where information becomes knowledge." |
57 |
-- |
58 |
gentoo-user@g.o mailing list |