Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: Robin on September 15, 2002, 12:02:39 PM

Title: Oops, chown -R in wrong directory
Post by: Robin on September 15, 2002, 12:02:39 PM
Is there any way to restore correct file ownerships after using chown -R in the wrong directory?

Are any scripts available to do this?

SME Server 5.5, no physical access. (ssh only).

Any ideas gratefully appreciated.
Title: Re: Oops, chown -R in wrong directory
Post by: Jesper Holck on September 15, 2002, 02:50:48 PM
Restore from your backup is the only one I know of.
Jesper
Title: Re: Oops, chown -R in wrong directory
Post by: Lloyd Keen on September 16, 2002, 06:54:41 PM
If the directory was in an i-bay I believe /sbin/e-smith/signal-event ibay-modify your_ibay-name would restore the original ownerships.