Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 08 Sep 2005 21:35:36 -0700
From:      Glenn Dawson <glenn@antimatter.net>
To:        Vizion <vizion@vizion.occoxmail.com>, freebsd-questions@freebsd.org
Subject:   Re: Stupid working too late..
Message-ID:  <6.2.3.4.2.20050908213243.03e27c60@cobalt.antimatter.net>
In-Reply-To: <200509082058.40370.vizion@vizion.occoxmail.com>
References:  <200509082058.40370.vizion@vizion.occoxmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
At 08:58 PM 9/8/2005, Vizion wrote:
>OK
>
>Here is what I did before i packed up - having been working late
>
>just changed ownerships of files in a virtual web
>
>chown -R www ./*
>
>fine
>
>folllowed by change of group with the dreaded typo of:
>
>chown -R www /*
>oooooooooooooooooooooooooooooooooops
>
>fortunately hit crt c pretty damn quick but some damage was done.
>
>While I limited the damage I wanted to double check which of the standard os
>file hierarchies are meant to be in group "operator" and also owned by root.
>That seems to be the only   doubt I have the rest was easily recovered.
>
>Any help appreciated

mtree -U -f foo
where foo is the appropriate file(s) from /etc/mtree should do that 
trick for ya.

-Glenn


>david
>
>
>
>  --
>40 yrs navigating and computing in blue waters.
>English Owner & Captain of British Registered 60' bluewater Ketch S/V Taurus.
>  Currently in San Diego, CA. Sailing bound for Europe via Panama Canal after
>completing engineroom refit.
>_______________________________________________
>freebsd-questions@freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6.2.3.4.2.20050908213243.03e27c60>