Date: Sun, 8 Oct 2006 05:52:50 +0000 (UTC) From: Maxim Konovalov <maxim@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sbin/restore tape.c Message-ID: <200610080552.k985qoMT056288@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
maxim 2006-10-08 05:52:50 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_6)
sbin/restore tape.c
Log:
MFC rev. 1.45: fixes from NetBSD:
restore owner/group/mode/atime/mtime of symbolic links;
extract file flags of symbolic link;
call getfile() before altering file attributes;
open file with mode 0600 instead of 0666;
move skipfile() before altering file attributes in IF{CHR,BLK} and
IFIFO cases;
use file mode 0600 when creating special file or fifo, revs. 1.33;
remove redundant -N check.
Approved by: re (kensmith)
Revision Changes Path
1.44.2.1 +23 -17 src/sbin/restore/tape.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200610080552.k985qoMT056288>
