(This thread might get more specialized attention on MVS-OE.)

On Tue, 3 May 2022 22:45:53 +0000, Mark Jacobs wrote:

>I'm not on a zOS system now, but does its pax command have this option?
>
>-p string
>             ...
>             e   "Preserve everything", the user ID, group ID, file mode bits,
>                 file access time, and file modification time.  This is 
> intended
>                 to be used by root, someone with all the appropriate
>                 privileges, in order to preserve all aspects of the files as
>                 they are recorded in the archive.  The e flag is the sum of 
> the
>                 o and p flags.
>
>There are several more options, but it looks like "e" is what you'd use.
>
That probably doesn't work because:
o "e" applies to the copy, not to the original.
o The problem arise because resetting the "access" time
  changes the "changed" time -- "everything" means only
  "almost everything".

"pax -rwl" is probably no better because it changes the link
count, thereby changing the "changed" time.

-- 
gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to