-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Miner, Jonathan W (CSC) (US SSA) wrote: > >> Hi, >> >> Clamscan shouldn't be modifying the (modification time)... The >> access time should be OK being modified; otherwise you would >> backup/etc every time someone viewed a file. > > Clamscan does not change the modification time... I didn't mean to > infer that it did. Sorry for any confusion that might have caused. > > No confusion. I just read your statement and looked at the code and your code resets both the modified time and the accessed time for the file.
I'm only a little confused why you would be worried about the accessed time, and what your are using that time for that is so important for this kind of a change? If someone just 'cat' a file or viewed it without changing anything, the access time will change always. Unless you are using the accessed time to determine if a file is safe to remove or move to permanent backup somewhere. James -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFENSJOkNLDmnu1kSkRArYZAKCFTsQt1Hmh7W9ErBicqnyIqwhXIgCfaLKN 0fI1VyEOBvaODp2X/2cnvv0= =7Mhp -----END PGP SIGNATURE----- -- Scanned by ClamAV - http://www.clamav.net _______________________________________________ http://lurker.clamav.net/list/clamav-users.html
