1 |
> -----Original Message----- |
2 |
> From: Joshua Schmidlkofer [mailto:joshland@×××××.com] |
3 |
> Sent: 05 January 2007 05:04 |
4 |
> To: gentoo-user@l.g.o; cliff@×××××××××××××××××.com |
5 |
> Subject: [gentoo-user] Fix file system permissions |
6 |
> |
7 |
> |
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 |
rm -f /home/customer |
22 |
|
23 |
;) |
24 |
|
25 |
On a more serious note, I'd go with doing chow -R root / and of course then doing |
26 |
|
27 |
for i in 1,2,3,4,....... etc \ |
28 |
chown -R customer$i /home/customer$i |
29 |
|
30 |
You get the idea :> |
31 |
|
32 |
David |
33 |
Note: These views are my own, advice is provided with no guarantee of success. I do not represent anyone else in any emails I send to this list. |
34 |
|
35 |
-- |
36 |
gentoo-user@g.o mailing list |