Koozali.org: home of the SME Server

Oops, chown -R in wrong directory

Robin

Oops, chown -R in wrong directory
« 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.

Jesper Holck

Re: Oops, chown -R in wrong directory
« Reply #1 on: September 15, 2002, 02:50:48 PM »
Restore from your backup is the only one I know of.
Jesper

Lloyd Keen

Re: Oops, chown -R in wrong directory
« Reply #2 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.