From owner-cvs-src-old@FreeBSD.ORG Fri Jul 3 17:54:43 2009 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AF175106573A for ; Fri, 3 Jul 2009 17:54:40 +0000 (UTC) (envelope-from kientzle@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 8754C8FC22 for ; Fri, 3 Jul 2009 17:54:40 +0000 (UTC) (envelope-from kientzle@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n63HsekU020653 for ; Fri, 3 Jul 2009 17:54:40 GMT (envelope-from kientzle@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n63Hse7c020652 for cvs-src-old@freebsd.org; Fri, 3 Jul 2009 17:54:40 GMT (envelope-from kientzle@repoman.freebsd.org) Message-Id: <200907031754.n63Hse7c020652@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to kientzle@repoman.freebsd.org using -f From: Tim Kientzle Date: Fri, 3 Jul 2009 17:54:33 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/usr.bin/cpio cmdline.c cpio.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Jul 2009 17:54:44 -0000 kientzle 2009-07-03 17:54:33 UTC FreeBSD src repository Modified files: usr.bin/cpio cmdline.c cpio.c Log: SVN rev 195318 on 2009-07-03 17:54:33Z by kientzle This fixes bsdcpio's -R option to accept numeric user or group Ids as well as user or group names. In particular, this fixes freesbie2, which uses -R 0:0 to copy a bunch of files so that the result will be owned by root. Also fixes a related bug that mixed-up the uid and gid specified by -R when in passthrough mode. Thanks to Dominique Goncalves for reporting this regression. Approved by: re (kib) Revision Changes Path 1.7 +49 -19 src/usr.bin/cpio/cmdline.c 1.18 +1 -1 src/usr.bin/cpio/cpio.c