Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Aug 2008 04:36:07 +0000 (UTC)
From:      Tim Kientzle <kientzle@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/lib/libarchive archive_write_disk.c
Message-ID:  <200808270436.m7R4aGhE079853@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
kientzle    2008-08-27 04:36:07 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_7)
    lib/libarchive       archive_write_disk.c 
  Log:
  SVN rev 182228 on 2008-08-27 04:36:07Z by kientzle
  
  MFC r182093: Ignore NO_OVERWRITE_NEWER if the current object is a directory.
  Before this, the often-recommended incantation
     find -d . | cpio -p <target>
  fails to properly carry through dir metadata because each
  file copy implicitly creates the parent dir, which cpio subsequently
  refuses to overwrite.  With this patch, the incantation works
  with or without the -d option to find because without it, there
  is no implicit dir creation, and with it, the subsequent dir
  restore will update the metadata on the dir.
  
  Revision  Changes    Path
  1.17.2.5  +5 -1      src/lib/libarchive/archive_write_disk.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200808270436.m7R4aGhE079853>