Gentoo Archives: gentoo-user

From: Bastian Balthazar Bux <BastianBalthazarBux@×××××××××.it>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] 2005.1 "el nino" simple user restricts
Date: Tue, 16 Aug 2005 17:43:22
Message-Id: 430222C3.1030706@pnpitalia.it
In Reply to: Re: [gentoo-user] 2005.1 "el nino" simple user restricts by Gyuri
1 Gyuri wrote:
2 > Bastian Balthazar Bux wrote:
3 >
4 >> Frank Schafer wrote:
5 >>
6 >>
7 >>> On Tue, 2005-08-16 at 09:38 +0000, Gyuri wrote:
8 >>>
9 >>>
10 >>>
11 >>>> Frank Schafer wrote:
12 >>>>
13 >>>>
14 >>>>
15 >>>>
16 >>>>> Hmmm, If I'm reading this and if I'm seeing that this is not the
17 >>>>> problem
18 >>>>> of just one user ... I'll be very glad to install with 2005.0 8-|
19 >>>>>
20 >>>>> ... if this appears right after installation with 2005.1, of course.
21 >>>>>
22 >>>>> Just a thought
23 >>>>> Frank
24 >>>>>
25 >>>>>
26 >>>>>
27 >>>>>
28 >>>>
29 >>>> Yes, you're right. I tried 2004.3 and former MiniInstall discs and
30 >>>> this did not happen. It don't make any mess until now, all my
31 >>>> software is able to work.
32 >>>> But it's a little strange to me. I recommend you 2004.3, you won't
33 >>>> experience this restriction.
34 >>>>
35 >>>
36 >>>
37 >>> Thanks, I think I still have the 2004.3 image laying around somewhere.
38 >>>
39 >>>
40 >>
41 >>
42 >> I've done a pair of installation of 2005.1 and the and the root dir is
43 >> mounted 0755.
44 >> #ls -ld /
45 >> drwxr-xr-x 20 root root 488 Aug 13 05:19 /
46 >>
47 >> there are not many place where the mounting of "/" dir happen:
48 >>
49 >> /etc/init.d/bootmisc here / is mounted read only to start the work
50 >> /etc/init.d/checkroot this one check and remount "/"
51 >>
52 >> boot are installed from sys-apps/baselayout , here
53 >> sys-apps/baselayout-1.11.13 .
54 >>
55 >>
56 >>
57 >>
58 > Thank you very much, I'll give it a try. I've used 2001.-universe and an
59 > old (yet removed) installation (hungarian version)
60
61
62 In the specular thread that it's evolving right now [I (user) can write
63 to / ... but why]
64
65 there is an answer like this:
66
67 |The problem on both my laptop and workstation was simply the fact that
68 |the root partition (/) was owned by UID=1000 GUI=100. Apparently this
69 |is
70 |a bug, but a simple `chown root:root /` was sufficient to fix the
71 |problem, and I also changed several file-permissions in underlying
72 |directories (like usr).
73
74 If you find something similar try a command like this:
75
76 #find / -gid=100 -uid=1000 -type d
77 (find all directories owned by user 1000:100, the first user in gentoo)
78
79 !!! LOOK WELL AT THE OUTPUT !!!
80 if you think *all* that directoryes should be owned by root this make
81 the change.
82
83 #find / -gid=100 -uid=1000 -type d -exec chown 0:0 {} \;
84
85 --
86 gentoo-user@g.o mailing list