tar: Setting Access Permissions

1 
1 Setting Access Permissions
1 ..........................
1 
1 To set the modes (access permissions) of extracted files to those
1 recorded for those files in the archive, use '--same-permissions' in
1 conjunction with the '--extract' ('--get', '-x') operation.
1 
1 '--preserve-permissions'
1 '--same-permissions'
1 '-p'
1      Set modes of extracted archive members to those recorded in the
1      archive, instead of current umask settings.  Use in conjunction
1      with '--extract' ('--get', '-x').
1