> -----Original Message-----
> From: Joshua Schmidlkofer [mailto:[EMAIL PROTECTED]
> Sent: 05 January 2007 05:04
> To: gentoo-user@lists.gentoo.org; [EMAIL PROTECTED]
> Subject: [gentoo-user] Fix file system permissions
> 
> 
> Hey, a customer on a hosted server did this today:
> 
> sudo chown -R lighttpd /
> 
> --
> 
> You can imagine that things are a little borked.  How do you fix this
> with Gentoo?
> 
> 
> Sincerely,
>   Joshua

rm -f /home/customer

;)

On a more serious note, I'd go with doing chow -R root / and of course then 
doing 

for i in 1,2,3,4,....... etc \
        chown -R customer$i /home/customer$i

You get the idea :>

David
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.

-- 
gentoo-user@gentoo.org mailing list

Reply via email to