Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Jul 2008 01:48:33 +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:  <200807050148.m651mnEU017553@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
kientzle    2008-07-05 01:48:33 UTC

  FreeBSD src repository

  Modified files:
    lib/libarchive       archive_write_disk.c 
  Log:
  SVN rev 180270 on 2008-07-05 01:48:33Z by kientzle
  
  When ARCHIVE_EXTRACT_PERM is requested (e.g., by "tar -p"), always
  schedule a chmod() fixup for directories.  In particular, this fixes
  sgid handling on systems where the sgid bit is inherited from the
  parent directory (which means that the actual mode of the dir
  does not match the mode used in the mkdir() system call.
  
  It may be possible to tighten this condition a bit.  In
  working through this, I also found a few other places where
  it looks like we can avoid a redundant syscall or two.  I've
  commented those here but not yet tried to address them.
  
  Revision  Changes    Path
  1.28      +9 -5      src/lib/libarchive/archive_write_disk.c



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