Date: Sun, 1 Feb 2009 06:15:46 +0000 (UTC) From: Tim Kientzle <kientzle@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/bin/pax file_subs.c Message-ID: <200902010615.n116FtmM025137@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kientzle 2009-02-01 06:15:46 UTC
FreeBSD src repository
Modified files:
bin/pax file_subs.c
Log:
SVN rev 187976 on 2009-02-01 06:15:46Z by kientzle
Before this fix, pax would stop the restore sequence for
symlinks after setting the owner. As a result, mode
and timestamp were not restored. This patch corrects the
problem by simply removing the short-circuit for symlinks
and using lchown()/lchmod()/lutimes() always for restoring
metadata.
PR: bin/91316
Submitted by: Jaakko Heinonen
Reviewed by: Joerg Sonnenberger
MFC after: 14 days
Revision Changes Path
1.23 +4 -36 src/bin/pax/file_subs.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902010615.n116FtmM025137>
