From owner-freebsd-hackers@FreeBSD.ORG Tue Sep 30 09:36:34 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 93625106568A for ; Tue, 30 Sep 2008 09:36:34 +0000 (UTC) (envelope-from asmodai@in-nomine.org) Received: from nexus.in-nomine.org (dhammapada.xs4all.nl [82.95.168.248]) by mx1.freebsd.org (Postfix) with ESMTP id 4E9D08FC0A for ; Tue, 30 Sep 2008 09:36:34 +0000 (UTC) (envelope-from asmodai@in-nomine.org) Received: from localhost (localhost.domini.in-nomine.org [127.0.0.1]) by nexus.in-nomine.org (Postfix) with ESMTP id 54434EF9D; Tue, 30 Sep 2008 11:36:33 +0200 (CEST) X-Virus-Scanned: by amavisd-new using ClamAV at in-nomine.org Received: from nexus.in-nomine.org ([127.0.0.1]) by localhost (nexus.domini.in-nomine.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id L0K7Qkf1pSwP; Tue, 30 Sep 2008 11:36:32 +0200 (CEST) Received: by nexus.in-nomine.org (Postfix, from userid 1000) id 4E25AEF9C; Tue, 30 Sep 2008 11:36:32 +0200 (CEST) Date: Tue, 30 Sep 2008 11:36:32 +0200 From: Jeroen Ruigrok van der Werven To: Mike Price Message-ID: <20080930093632.GU30869@nexus.in-nomine.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Organisation: Ninth Circle Enterprises User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-hackers@freebsd.org Subject: Re: How do I unchown a directory after I: chown -R /etc ??? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Sep 2008 09:36:34 -0000 -On [20080930 11:26], Mike Price (bipolor@gmail.com) wrote: >How do I unchown a directory after I: chown -R /etc There is no unchown. You either rechown with the correct users or you use mtree with one of the dist files in /etc/mtree to recreate the directory structure with the correct rights/users. -- Jeroen Ruigrok van der Werven / asmodai イェルーン ラウフロック ヴァン デル ウェルヴェン http://www.in-nomine.org/ | http://www.rangaku.org/ | GPG: 2EAC625B What's in a name? That which we call a rose by any other name would smell as sweet...