Next: Directory Modification Times and Permissions, Previous: Setting Data Modification Times, Up: Changing How tar
Writes Files [Contents][Index]
To set the modes (access permissions) of extracted files to those recorded for those files in the archive, use --same-permissions in conjunction with the --extract (--get, -x) operation.
Set modes of extracted archive members to those recorded in the archive, instead of current umask settings. Use in conjunction with --extract (--get, -x).