I have migrated my system to a new hard disk and backed up my system to an external NTFS volume with rsync- ahv, a oversight and mistake given that NTFS volumes do not support UNIX permissions.
Normally I would back up to an ext4 volume however this disk has failed. So now I have a backed up system, which I have spent a lot of time tweaking, with all of it's permissions and ownerships blitzed, and logging into this system is possible (once I have restored it with rsync and reconfigured grub), but problematic to say the least.
I need to restore ownerships and permissions to the system. Is there a system of chown
/chmod
I can use to do this?