Gentoo Archives: gentoo-user

From: Richard Cox <khabi@××××××××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Fix file system permissions
Date: Fri, 05 Jan 2007 23:07:50
Message-Id: 20070105230319.GA5504@cortana.slightlyderanged.net
In Reply to: [gentoo-user] Fix file system permissions by Joshua Schmidlkofer
1 I would think a quick fix (by no means a FULL fix) would be to re-emerge sys-apps/baselayout. That should at least get your init scrips, and important configs back to the right permissions. I've never actually tried that however, so take it with a grain of salt.
2
3 I would agree with most people on the list tho. Maybe its time for a machine upgrade and just re-emerge everything. Either way tho, I'm betting its going to take a lot of legwork to get things back to the way they were before hand.
4
5 Also maybe its time to chroot your customers to keep them from screwing things up again :)
6
7 On Thu, Jan 04, 2007 at 09:04:15PM -0800, Joshua Schmidlkofer wrote:
8 > Hey, a customer on a hosted server did this today:
9 >
10 > sudo chown -R lighttpd /
11 >
12 > --
13 >
14 > You can imagine that things are a little borked. How do you fix this
15 > with Gentoo?
16 >
17 >
18 > Sincerely,
19 > Joshua
20 > --
21 > gentoo-user@g.o mailing list
22 --
23 gentoo-user@g.o mailing list