1

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?

6
  • Have you access to a live CD/USB?
    – Braiam
    Nov 30, 2013 at 10:56
  • The next time, back-up with tar.
    – ignis
    Nov 30, 2013 at 10:56
  • I don't mean to be the person pointing fingers and mistakes. Please don't interpret this as such but wouldn't dd have been a better option?
    – KI4JGT
    Nov 30, 2013 at 11:46
  • Bri - Yes. Whether I use a live CD, or a standalone install of Ubuntu however makes no difference to my problem, the files on the NTFS volume will still have lost their ownership, if not permissions. Nov 30, 2013 at 16:32
  • iqnis - great advice and indeed I do use tar to archive files, as well as rsync which preserves the file structure for instant access should I need it. At the moment, I have 1 rsync backup, with incorrect ownerships. Nov 30, 2013 at 16:47

0

You must log in to answer this question.

Browse other questions tagged .