From owner-freebsd-questions@FreeBSD.ORG Sat Oct 1 21:34:04 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 90C6016A41F for ; Sat, 1 Oct 2005 21:34:04 +0000 (GMT) (envelope-from vizion@vizion.occoxmail.com) Received: from lakecmmtao06.coxmail.com (lakecmmtao06.coxmail.com [68.99.120.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0C80143D53 for ; Sat, 1 Oct 2005 21:34:03 +0000 (GMT) (envelope-from vizion@vizion.occoxmail.com) Received: from dns1 ([64.58.171.82]) by lakecmmtao06.coxmail.com (InterMail vM.6.01.05.02 201-2131-123-102-20050715) with ESMTP id <20051001213404.TKRK24491.lakecmmtao06.coxmail.com@dns1> for ; Sat, 1 Oct 2005 17:34:04 -0400 From: Vizion To: freebsd-questions@freebsd.org Date: Sat, 1 Oct 2005 14:29:39 -0700 User-Agent: KMail/1.8 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200510011429.40261.vizion@vizion.occoxmail.com> Subject: comparing permissions in an archive X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Oct 2005 21:34:04 -0000 Hi Someone must know a simple way to do this: I regulalrly need to compare the permissions of two largely similar archives stored in two seperate paths. Most of the files are of the same name and relative path but there may be miscellaneous additional files present or absent in each archive. I want: 1. to be able to produce a list of the full path and name of those files that share an identical path from their respective archive roots, but have different permissions. 2. After examining the list I would like to be able to adjust the permissions so that files of the same path and name in one selected archive are afjusted to match the permissions of their equivalent file in the other archive. Does anyone have a simple solution? thanks david -- 40 yrs navigating and computing in blue waters. English Owner & Captain of British Registered 60' bluewater Ketch S/V Taurus. Currently in San Diego, CA. Sailing bound for Europe via Panama Canal after completing engineroom refit.