From owner-cvs-src@FreeBSD.ORG Thu Aug 11 15:43:55 2005 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 AC2C716A420; Thu, 11 Aug 2005 15:43:55 +0000 (GMT) (envelope-from brian@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 631E043D48; Thu, 11 Aug 2005 15:43:55 +0000 (GMT) (envelope-from brian@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j7BFhttQ057422; Thu, 11 Aug 2005 15:43:55 GMT (envelope-from brian@repoman.freebsd.org) Received: (from brian@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j7BFhtn7057421; Thu, 11 Aug 2005 15:43:55 GMT (envelope-from brian) Message-Id: <200508111543.j7BFhtn7057421@repoman.freebsd.org> From: Brian Somers Date: Thu, 11 Aug 2005 15:43:55 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/usr.sbin/mtree verify.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: Thu, 11 Aug 2005 15:43:55 -0000 brian 2005-08-11 15:43:55 UTC FreeBSD src repository Modified files: usr.sbin/mtree verify.c Log: If we fail in chown(2), try to just change the group and continue on to change the permissions. Failures are still recorded. This allows mtree to do a generally better job of things when uid != 0. Sponsored by: ActiveState/Sophos Partially submitted by: neilw at ActiveState dot com Reviewed by: neilw at ActiveState dot com MFC after: 3 weeks Revision Changes Path 1.24 +28 -10 src/usr.sbin/mtree/verify.c