Stupid working too late..
Glenn Dawson
glenn at antimatter.net
Thu Sep 8 21:36:00 PDT 2005
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 at freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
More information about the freebsd-questions
mailing list