RE: Making tar not change ctime or atime
On 25-Jul-2002 Mike Dresser wrote:
> I can get tar to not change the atime on a backup with the
> --atime-preserve flag.
>
> However, that makes it change the ctime, to do that.
>
> Is there another way around this, to not change either of them?
>
> Tripwire and aide go nuts when your ctime changes every day.
>
The field st_ctime is changed by writing or by setting
inode information (i.e., owner, group, link count, mode,
etc.).
so simply doing a chmod will set ctime.
--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: