Bug#286957: logrotate: gzip compression modifies timestamp on logfile

2005-09-03 Thread Paul Martin
tags 286957 confirmed patch thanks On Sat, Sep 03, 2005 at 01:41:07AM -0400, Tom Metro wrote: >gzip preserves the mode, ownership and timestamps of files when >compressing or decompressing. > > That would suggest logrotate is doing something more than just renaming > and compressing the

Bug#286957: logrotate: gzip compression modifies timestamp on logfile

2005-09-02 Thread Tom Metro
This problem still exists in 3.7-5: -rw-r--r-- 1 root root 8303 Aug 28 13:47 cron.log.2.gz -rw-r--r-- 1 root root 7677 Aug 28 13:39 cron.log.1 -rw-r--r-- 1 root root 8416 Aug 28 06:33 cron.log.3.gz which seems strange, as gzip doesn't normally alter the timestamp, as documented: gzip