Date: Fri, 25 Aug 2006 05:46:48 +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: <200608250546.k7P5kmYk097210@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
maxim 2006-08-25 05:46:48 UTC FreeBSD src repository Modified files: sbin/restore tape.c Log: A bunch of fixes from NetBSD: o Restore owner/group/mode/atime/mtime of symbolic links, rev. 1.30. o Extract file flags of symbolic link, rev. 1.42. o Call getfile() before altering file attributes. Open file with mode 0600 instead of 0666 so that file won't remain group or world readable/writable even if getfile() terminated. Move skipfile() before altering file attributes in IF{CHR,BLK} and IFIFO case for symmetry, rev. 1.32. o Use file mode 0600 when creating special file or fifo, revs. 1.33, 1.34. o Remove redundant -N check. PR: bin/101660 Submitted by: Andrey V. Elsukov Obtained from: NetBSD, enami@netbsd MFC after: 6 weeks Revision Changes Path 1.45 +23 -17 src/sbin/restore/tape.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608250546.k7P5kmYk097210>