Jeph Cowan wrote:
The modification date/times of the files are maintained as original, but the date/time of the directories is the date/time of the restore.
What version? I seem to recall Sergey fixing this in GNU cpio fairly recently.
It seems that this may not be possible as the act of putting(restoring) the files into the directory is in fact a modification.
It is tricky to implement. The technique I used for libarchive (which I believe is the same technique Sergey used for GNU cpio) is to keep a list in memory of directories and mtimes and then set the mtimes at the very end, after all of the files have been written. The same technique can be used to correctly restore directories that are not writable or which have restrictive file flags or ACLs. Tim _______________________________________________ Bug-cpio mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-cpio
