permissions problems

greg gval at mts.net
Fri Jan 30 11:32:22 PST 2004


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 at mts.net>



More information about the freebsd-questions mailing list