Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Jan 2004 13:32:12 -0600
From:      greg <gval@mts.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: permissions problems
Message-ID:  <1075491131.675.4.camel@localhost.localdomain>
In-Reply-To: <20040130185302.GA83276@happy-idiot-talk.infracaninophile.co.uk>
References:  <05a601c3e75f$93714810$fa10fea9@bryanuptrvb0jc> <20040130185302.GA83276@happy-idiot-talk.infracaninophile.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 2004-01-30 at 12:53, Matthew Seaman wrote:
> On Sat, Jan 31, 2004 at 02:33:27AM +0800, Spades wrote:
> > Hi,
> > 
> > What if one of my admin accidentally did a:
> > 
> > chmod -R o+rx /
> > 
> > and changed my entire system permissions.
> > What should i do to restore it?
> > 
> > Please assist. Thanks.
> 
> Several choices:
> 
[... snip ...]

> ii) Do a restore from your latest backups.  Working out how to merge
> any changes to file contents without modifying the file permissions is
> left as an exercise for the 

Or you could write a script to pull only the permissions from backup,
and change just the permissions of the files.

-- 
greg <gval@mts.net>



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