From owner-freebsd-questions@FreeBSD.ORG Sun Jul 18 18:13:41 2004 Return-Path: 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 563C216A4CE for ; Sun, 18 Jul 2004 18:13:41 +0000 (GMT) Received: from smtp.infracaninophile.co.uk (happy-idiot-talk.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id EA52A43D45 for ; Sun, 18 Jul 2004 18:13:39 +0000 (GMT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost.infracaninophile.co.uk [IPv6:::1])i6IIDYDj014116 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 18 Jul 2004 19:13:34 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id i6IIDY7D014115; Sun, 18 Jul 2004 19:13:34 +0100 (BST) (envelope-from matthew) Date: Sun, 18 Jul 2004 19:13:34 +0100 From: Matthew Seaman To: SP Network Solutions Message-ID: <20040718181333.GA14022@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , SP Network Solutions , freebsd-questions@freebsd.org References: <001001c46cec$ae0a2a80$0e01a8c0@SPWORKS> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="EVF5PPMfhYS0aIcm" Content-Disposition: inline In-Reply-To: <001001c46cec$ae0a2a80$0e01a8c0@SPWORKS> User-Agent: Mutt/1.5.6i X-Greylist: Message not sent from an IPv4 address, not delayed by milter-greylist-1.5.3 (smtp.infracaninophile.co.uk [0.0.0.0]); Sun, 18 Jul 2004 19:13:34 +0100 (BST) X-Virus-Scanned: clamd / ClamAV version devel-20040705, clamav-milter version 0.74a on smtp.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on happy-idiot-talk.infracaninophile.co.uk cc: freebsd-questions@freebsd.org Subject: Re: Default permission. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Jul 2004 18:13:41 -0000 --EVF5PPMfhYS0aIcm Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jul 19, 2004 at 01:28:45AM +0800, SP Network Solutions wrote: > Just to check with anyone, is there a "list" of default permission for /u= sr and /var >=20 > I kinda srew up somewhere and now can't remember what is the actual permi= ssion for this 2 folder structure and all the related files inside. See mtree(8) Look at /etc/mtree/BSD.usr.dist, /etc/mtree/BSD.sendmail.dist and /etc/mtree/BSD.var.dist which covers most of those two partitions. In order to apply the default settings: # mtree -p /usr -U /etc/mtree/BSD.usr.dist and similar for the /var partition stuff. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --EVF5PPMfhYS0aIcm Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFA+r3NiD657aJF7eIRAsffAJ9G6x2FpCXWc++ag23DOWQ178hXUgCfRWn5 FcqNXADUWnqMzPGO3WsgDZQ= =FVIc -----END PGP SIGNATURE----- --EVF5PPMfhYS0aIcm--