Gentoo Archives: gentoo-user

From: Iain Buchanan <iaindb@××××××××××××.au>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Fix file system permissions
Date: Fri, 05 Jan 2007 06:46:01
Message-Id: 1167979288.17324.53.camel@orpheus
In Reply to: [gentoo-user] Fix file system permissions by Joshua Schmidlkofer
1 On Thu, 2007-01-04 at 21:04 -0800, Joshua Schmidlkofer wrote:
2 > Hey, a customer on a hosted server did this today:
3 >
4 > sudo chown -R lighttpd /
5
6 *heh heh*
7
8 apart from saying the mean (but deserved) restore from backup :) maybe
9 you could just `chown -R root /`
10
11 that would put you in a better state than now, at least.
12
13 do you use slocate? maybe the slocate database stores permission info
14 for files it searches... you could "reverse" that info somehow...
15
16 anyway, what's a customer doing with sudo access?
17 --
18 Iain Buchanan <iaindb at netspace dot net dot au>
19
20 Money is the root of all evil, and man needs roots.
21
22 --
23 gentoo-user@g.o mailing list