1 |
Alex Schuster wrote: |
2 |
> Dale writes: |
3 |
> |
4 |
> |
5 |
>> OK. New theory here. This came about in another thread about the |
6 |
>> shiney new kernel, that isn't new by the way. Anyway, look at this crap: |
7 |
>> |
8 |
>> root@fireball / # ls -al /home/dale/ |
9 |
>> total 640 |
10 |
>> drwxr-xr-x 61 dale users 2672 Jul 23 10:14 . |
11 |
>> drwxr-xr-x 7 root root 208 Jun 17 03:01 .. |
12 |
>> drwx------ 3 dale dale2 80 Sep 3 2010 .adobe |
13 |
>> -rw-r--r-- 1 dale users 24 Apr 10 16:40 .aspell.en.prepl |
14 |
>> -rw-r--r-- 1 dale users 29 Apr 10 16:40 .aspell.en.pws |
15 |
>> drwxr-xr-x 3 dale users 96 Feb 25 2010 .avidemux |
16 |
>> |
17 |
> [...] |
18 |
> |
19 |
> |
20 |
>> By comparison, check this out for my test user: |
21 |
>> |
22 |
>> root@fireball / # ls -al /home/dale2/ |
23 |
>> total 73 |
24 |
>> drwx------ 13 dale2 users 544 Jul 11 01:59 . |
25 |
>> drwxr-xr-x 7 root root 208 Jun 17 03:01 .. |
26 |
>> -rw------- 1 dale2 500 5 Jul 11 01:59 .bash_history |
27 |
>> -rw-r--r-- 1 dale2 users 127 Apr 18 14:04 .bash_logout |
28 |
>> -rw-r--r-- 1 dale2 users 193 Apr 18 14:04 .bash_profile |
29 |
>> -rw-r--r-- 1 dale2 users 551 Apr 18 14:04 .bashrc |
30 |
>> drwxr-xr-x 4 dale2 users 128 Jul 5 12:28 .config |
31 |
>> drwx------ 3 dale2 users 80 May 8 11:55 .dbus |
32 |
>> drwx------ 2 dale2 users 144 May 8 11:55 Desktop |
33 |
>> -rw------- 1 dale2 users 24 Jul 6 22:18 .dmrc |
34 |
>> drwxr-xr-x 2 dale2 500 112 Jul 5 15:59 .fontconfig |
35 |
>> drwxr-xr-x 2 dale2 500 88 Jul 11 01:51 .gstreamer-0.10 |
36 |
>> drwxr----- 2 dale2 users 112 Jul 5 15:59 .hplip |
37 |
>> drwxr-xr-x 4 dale2 users 200 Jul 5 12:16 .kde4 |
38 |
>> drwxr-xr-x 3 dale2 users 72 May 8 11:55 .local |
39 |
>> drwx------ 5 dale2 500 136 Jul 11 01:56 .mozilla |
40 |
>> drwx------ 2 dale2 users 48 Apr 18 14:04 .ssh |
41 |
>> drwx------ 3 dale2 500 72 Jul 5 12:21 .thumbnails |
42 |
>> -rw------- 1 dale2 500 0 Jul 11 01:59 .Xauthority |
43 |
>> -rw------- 1 dale2 500 50596 Jul 11 01:59 .xsession-errors |
44 |
>> root@fireball / # |
45 |
>> |
46 |
>> |
47 |
>> Why are some using the group users and others using my test user dale2? |
48 |
>> |
49 |
> And what is group 500? Did you use your $HOME directory from another OS maybe? |
50 |
> |
51 |
> |
52 |
|
53 |
I did copy a couple directories from the old install, emails and such, |
54 |
but most everything was done fresh when I installed Gentoo on this rig. |
55 |
I tend to let the permissions stay as they are. I do change some |
56 |
permissions on my /data directory sometimes tho. Usually to prevent me |
57 |
from doing something accidentally you know. |
58 |
|
59 |
I have no idea what group 500 is or where it came from. That is one |
60 |
goooooood question. |
61 |
|
62 |
|
63 |
>> I don't think I have a group dale2. Could this be the cause? |
64 |
>> |
65 |
> You have the group, or else it would not be shown by ls. But you once group, |
66 |
> which is only known by its GID 500 now. |
67 |
> You can check your IDs with the 'id<user>' command. |
68 |
> |
69 |
> |
70 |
>> What |
71 |
>> exactly tells Linux to give those permissions? I looked around in /etc |
72 |
>> for some file that would set this but I can't find anything. |
73 |
>> |
74 |
> Normally, files are created with your primary group. The one that is in the |
75 |
> fourth column of your user in /etc/passwd, you set it with usermod -g. |
76 |
> |
77 |
> |
78 |
|
79 |
That had 500 in it for the group. I guess that is how that happened but |
80 |
no idea how it got set that way. It's fixed now tho. |
81 |
|
82 |
>> Even if this isn't the cause, how do I go about fixing this? |
83 |
>> |
84 |
> If you never intended to use different groups at all, chgrp -R users $HOME |
85 |
> should do the trick. But I doubt it has anything to do with your kernel |
86 |
> panics. |
87 |
> |
88 |
> Wonko |
89 |
> |
90 |
> |
91 |
|
92 |
It may not but while I am grasping at straws, I'll get this fixed too. |
93 |
|
94 |
Thanks for the reply. I got some of this sorted out now. |
95 |
|
96 |
Dale |
97 |
|
98 |
:-) :-) |