Gentoo Archives: gentoo-user

From: Dirk Heinrichs <ext-dirk.heinrichs@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] I (user) can write to / ... but why?
Date: Tue, 16 Aug 2005 05:56:29
Message-Id: 200508160741.25718.ext-dirk.heinrichs@nokia.com
In Reply to: Re: [gentoo-user] I (user) can write to / ... but why? by Ralph Slooten
1 Am Dienstag, 16. August 2005 07:17 schrieb ext Ralph Slooten:
2 > > What does "ls -ld /" show?
3 >
4 > axllent@workstation ~ $ ls -ld /
5 > drwxr-xr-x 20 axllent users 456 Aug 15 20:05 /
6 >
7 > Looks like it's mounted by me ;-) LOL.
8
9 No. It isn't mounted by you. You own it (at least this directory). Use
10
11 find / -xdev -uid 1000
12
13 to find out if more files are owned by that user. Just to be save, repeat it
14 on /usr, too. If you find files with wrong ownership, run
15
16 find / -xdev -uid 1000 -exec chown root:root {} \;
17
18 NOTE: This assumes you don't have a single partition for everything. If you
19 have one single, large partition for everything, mounted as /, you may want
20 to exclude some directories from the search (i.e. /home, see man find for
21 details).
22
23 HTH...
24
25 Dirk
26 --
27 Dirk Heinrichs | Tel: +49 (0)162 234 3408
28 Configuration Manager | Fax: +49 (0)211 47068 111
29 Capgemini Deutschland | Mail: dirk.heinrichs@×××××××××.com
30 Hambornerstraße 55 | Web: http://www.capgemini.com
31 D-40472 Düsseldorf | ICQ#: 110037733
32 GPG Public Key C2E467BB | Keyserver: www.keyserver.net

Replies

Subject Author
Re: [gentoo-user] I (user) can write to / ... but why? Ralph Slooten <axllent@×××××.com>