File Date change not reflected on content repository

  • 7009673
  • 01-Nov-2011
  • 27-Apr-2012

Environment

Novell ZENworks 11 Configuration Management Support Pack 1 - ZCM 11 SP1 Content

Situation

Changes
Re-uploading files with changed time-stamp but same content / checksum

Symptom
Installing the new bundle or bundle version does not show time-stamps of second upload but the installed files have "last modified" time of the first upload

Resolution

This is working as designed.


Additional Information

ZCM identifies files by their checksum. A change in time-stamp can only get reflected when the related bundle got deleted and the corresponding content got purged. Unreferenced content gets only removed from the content repository on content cleanup which gets automatically scheduled to run every day at midnight. Currently there is no option exposed to manually trigger a content cleanup.

If a bundle gets created and a file with same content / same checksum (but maybe different time-stamp) gets uploaded as already (maybe unreferenced) available in the content-repository, the existing content object will be rather reused and referenced than creating a new content object.

Steps to Duplicate
1. Create a bundle with Install Directory action and upload a folder with a couple of files
2. Apply the bundle
3. Delete the bundle
4. Find a way to change the file time stamp without changing the actual file content
5. Create a new bundle with same Install Directory action and upload the files with the updated time-stamp and different target folder.
6. Apply the bundle

The new target folder contains the file with the time-stamp as uploaded with the first bundle.