bug-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: posix atime/ctime changes despite mtime being set


From: Sergey Poznyakoff
Subject: Re: posix atime/ctime changes despite mtime being set
Date: Mon, 24 Jul 2023 18:43:20 +0200
User-agent: MH (GNU Mailutils 3.15)

Hi Piotr,

The --mtime option does not affect atime and ctime. If you want full
binary compatibility, use also the --pax-option option, e.g.:

  --pax-option 'atime:=0,ctime:=0'

or

  --pax-option 'delete=atime,delete=ctime'

See the end of subsection "Controlling Extended Header Keywords" of the
GNU tar manual for suggestions on how to create binary equivalent archives
in POSIX format.  It is available online at:
  
  https://www.gnu.org/software/tar/manual/html_node/PAX-keywords.html

Regards,
Sergey



reply via email to

[Prev in Thread] Current Thread [Next in Thread]