Gentoo Archives: gentoo-user

From: Gyuri <hangcsapda@××××××××.hu>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] 2005.1 "el nino" simple user restricts
Date: Tue, 16 Aug 2005 05:43:12
Message-Id: 43019594.6060008@kabelnet.hu
In Reply to: Re: [gentoo-user] 2005.1 "el nino" simple user restricts by Bastian Balthazar Bux
1 Bastian Balthazar Bux wrote:
2
3 >Gyuri wrote:
4 >
5 >
6 >>Hi guys,
7 >>I've just downloaded, and installed Gentoo 2005.1 El Nino. I have some
8 >>experiences with former Gentoo releases. But there is a little "bug"
9 >>(maybe?) in "el nino". A simple user cannot read the contets of the root
10 >>( / ) partition, she/he can only read and write in his/her own home
11 >>directory. Is it a bug? Or is it done for some security reasons?
12 >>Thanks in advance. Sorry for my bad English.
13 >>
14 >>
15 >
16 >what does output "ls -ld /" ?
17 >mine is
18 >
19 >drwxr-xr-x 20 root root 496 Aug 15 01:01 /
20 >
21 >maybe there is something wrong with mount options in etc/fstab ?
22 >
23 >About reemerge the whole system you can use "emerge -ea world", seldom
24 >this doesn't go good so the procedure I follow is something like this:
25 >
26 >create a bash script like this (it can be done better, but it's fast to
27 >write it this way ;):
28 >
29 >====
30 >#! /bin/bash
31 >
32 >emerge -epv world
33 >emerge -e world \
34 >|| emerge --resume --skipfirst \
35 >|| emerge --resume --skipfirst \
36 >|| emerge --resume --skipfirst \
37 >|| emerge --resume --skipfirst \
38 >|| emerge --resume --skipfirst \
39 >|| emerge --resume --skipfirst \
40 >|| emerge --resume --skipfirst \
41 >|| emerge --resume --skipfirst \
42 >|| emerge --resume --skipfirst \
43 >|| emerge --resume --skipfirst
44 >=====
45 >
46 >chmod +x eworld
47 >
48 >nohup ./eworld & tail -f nohup.out
49 >
50 >at the end
51 >
52 >grep "ERROR.*fail" nohup.out
53 >
54 >to see if something is gone wrong.
55 >
56 >this seem to be your first post, welcome here Gyuri
57 >
58 >
59 >
60 Thanks four your answers, "ls -ld /" says the same as yours, but with
61 much less rights (my user "manowar" even dont have read, enter (folders)
62 and write access).
63 My fstab is correct. I mount /dev/hda6 (ext3) to "/" with the option
64 noatime and with "0 1" at the end of the line. Should I mount it with
65 "defaults" option?
66
67 --
68 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] 2005.1 "el nino" simple user restricts Frank Schafer <frank.schafer@×××××××××.cz>
Re: [gentoo-user] 2005.1 "el nino" simple user restricts Neil Bothwick <neil@××××××××××.uk>