On Tue, Jan 12, 2016 at 10:10:41 -0500, Gene Heskett wrote:
> tar -cpsf indices.tar.${TAPENAME} $INDICE_PATH  2>&1 >> dd.report$TAPENAME
> tar -cpsf configuration.tar.${TAPENAME} $CONFPATH  2>&1 >> dd.report.$TAPENAME

(For what it's worth, I believe "-p" also has no effect during a create
operation, though tar doesn't abort with an error for that combination.

From
  https://www.gnu.org/software/tar/manual/html_section/tar_70.html#IDX521
: 
===============
`-p'
`--same-permissions'
`--preserve-permissions'

    Extract all protection information.

    This option causes tar to set the modes (access permissions) of
extracted files exactly as recorded in the archive. If this option is
not used, the current umask setting limits the permissions on extracted
files. This option is by default enabled when tar is executed by a
superuser.
===============
)


                                                        Nathan
----------------------------------------------------------------------------
Nathan Stratton Treadway  -  [email protected]  -  Mid-Atlantic region
Ray Ontko & Co.  -  Software consulting services  -   http://www.ontko.com/
 GPG Key: http://www.ontko.com/~nathanst/gpg_key.txt   ID: 1023D/ECFB6239
 Key fingerprint = 6AD8 485E 20B9 5C71 231C  0C32 15F3 ADCD ECFB 6239

Reply via email to