From owner-freebsd-questions Sun Apr 30 6:39:50 2000 Delivered-To: freebsd-questions@freebsd.org Received: from peedub.muc.de (p3E9B8F59.dip.t-dialin.net [62.155.143.89]) by hub.freebsd.org (Postfix) with ESMTP id EC6C737B67F for ; Sun, 30 Apr 2000 06:39:44 -0700 (PDT) (envelope-from garyj@peedub.muc.de) Received: from peedub.muc.de (localhost [127.0.0.1]) by peedub.muc.de (8.9.3/8.6.9) with ESMTP id PAA00731; Sun, 30 Apr 2000 15:32:48 +0200 (CEST) Message-Id: <200004301332.PAA00731@peedub.muc.de> X-Mailer: exmh version 2.1.1 10/15/1999 To: Dean Hollister Cc: Derrick Baumer , FreeBSD Questions Subject: Re: chmod Reply-To: Gary Jennejohn In-reply-to: Your message of "Sun, 30 Apr 2000 20:24:42 +0800." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 30 Apr 2000 15:32:48 +0200 From: Gary Jennejohn Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Dean Hollister writes: >On Sun, 30 Apr 2000, Derrick Baumer wrote: > >> If you can find someone who isn't too paranoid about security issues, >> or someone who knows you that is running the same version of the >> system as you are, you can get them to execute > >It's FreeBSD 4.0-RELEASE, installed over FTP. > >> ls -lR /usr > listing >> cat listing | mail you@email.address >> >> Then write a quick perl script to set your permissions to the same >> permissions as those shown in the file. I am personally a paranoid >> type, but I might be able to throw a script together to do the job for >> you. > >Thanks for the offer, it is very much appreciated. > >I would use a listing of one of our systems (as I implicitly trust the >person), however we now run 4.0-STABLE, and somethings might be different. > Use mtree. See the manpage. You can set the standard permissions for any file tree under /etc/mtree using it. --- Gary Jennejohn / garyj@muc.de gj@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message