ArGest Backup User Guide

  1. Home
  2. Docs
  3. ArGest Backup User Guide
  4. Terminal Advanced Uses
  5. Ownership of Extracted Files: (-C)

Ownership of Extracted Files: (-C)

When extracting files, BRU restores the owner and the group to that which is stored in the archive for each file. By specifying the -C option, you instruct BRU to change the owner and group ID to that of the person running BRU, including that of root. If the system administrator root is performing a filesystem restore, this option should not be used, since root would end up owning all of the files.
The -C option is useful when you are importing files and directories from other systems because it allows the person running BRU to assign all of the files to himself. It is best to check the archive by running BRU with the -tv options to see who owns the files in the archive and thus to determine whether or not the -C option is appropriate to use.

BRU enforces standard UNIX access security. It makes every attempt to prevent normal users from archiving or extracting files to which they might not normally have access. If a user does not have read access to a file, that user will not be able to back it up, restore it from an archive, or change its ownership with the -C option. SECURITY NOTE: Anyone with physical access to the archive media and a knowledge of the structure of the file records can recover the archive’s contents by writing their own file extraction program. If data security is important, you should protect the archive media from unauthorized physical access.