From owner-cvs-src@FreeBSD.ORG Sun Oct 8 05:52:50 2006 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A2F0716A403; Sun, 8 Oct 2006 05:52:50 +0000 (UTC) (envelope-from maxim@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5FB0143D46; Sun, 8 Oct 2006 05:52:50 +0000 (GMT) (envelope-from maxim@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k985qoP2056290; Sun, 8 Oct 2006 05:52:50 GMT (envelope-from maxim@repoman.freebsd.org) Received: (from maxim@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k985qoMT056288; Sun, 8 Oct 2006 05:52:50 GMT (envelope-from maxim) Message-Id: <200610080552.k985qoMT056288@repoman.freebsd.org> From: Maxim Konovalov Date: Sun, 8 Oct 2006 05:52:50 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/sbin/restore tape.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Oct 2006 05:52:50 -0000 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