Image for Linux - restore NTFS permissions on backup files?

Discussion in 'backup, imaging & disk mgmt' started by valnar, Apr 19, 2014.

Thread Status:
Not open for further replies.
  1. valnar

    valnar Registered Member

    Joined:
    Sep 30, 2006
    Posts:
    137
    I figure somebody out there has done this...

    After I do a backup of my Windows 7 boxes with Image for Linux, the NTFS permissions on the backup file are a little screwy. I have to manually go in there and add some basic permissions back so I can open the file, mount it, move it, etc. This is because the file is created outside of Windows within Linux.

    I'm a scripting n00b. Does anyone have a post-backup script they use to restore these permissions? I assume a command prompt or Powershell? I'm sure I can edit it to suit my needs, but I don't know where to start.
     
  2. MudCrab

    MudCrab Imaging Specialist

    Joined:
    Nov 3, 2006
    Posts:
    6,483
    Location:
    California
    I've seen some destinations be more problematic that others. Some seem to better allow permissions to be retained. You could try a different path or making sure the path being used has the desired permissions set (they might already be correct, but worth checking).

    There's a sample CMD script at the end of this KB article: http://www.terabyteunlimited.com/kb/article.php?id=581
     
  3. valnar

    valnar Registered Member

    Joined:
    Sep 30, 2006
    Posts:
    137
    Oh Cool. Thanks.
     
Thread Status:
Not open for further replies.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.