From owner-freebsd-questions Fri May 29 11:26:02 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA02478 for freebsd-questions-outgoing; Fri, 29 May 1998 11:26:02 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from gdi.uoregon.edu (gdi.uoregon.edu [128.223.170.30]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA02376 for ; Fri, 29 May 1998 11:24:50 -0700 (PDT) (envelope-from dwhite@gdi.uoregon.edu) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.8/8.8.8) with SMTP id LAA00381; Fri, 29 May 1998 11:24:39 -0700 (PDT) (envelope-from dwhite@gdi.uoregon.edu) Date: Fri, 29 May 1998 11:24:39 -0700 (PDT) From: Doug White Reply-To: Doug White To: "Randy A. Katz" cc: questions@FreeBSD.ORG Subject: Re: PERMISSIONS - FIX In-Reply-To: <3.0.5.32.19980527191429.039b61e0@ccsales.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 27 May 1998, Randy A. Katz wrote: > Hello (and Help!), > > I have just changed permissions globally through a script and the whole > server is messed up. Is there a way to change the permissions to correct > for the base operating system in FreeBSD 2.2.6? Yes, use mtree: mtree -eUf /etc/mtree/BSD.usr.dist for /usr mtree -eUf /etc/mtree/BSD.root.dist for / .... Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message