From owner-freebsd-hackers@FreeBSD.ORG Thu Mar 24 15:42:14 2005 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E6AFF16A4CE for ; Thu, 24 Mar 2005 15:42:14 +0000 (GMT) Received: from gandalf.online.bg (gandalf.online.bg [217.75.128.9]) by mx1.FreeBSD.org (Postfix) with SMTP id 0608643D48 for ; Thu, 24 Mar 2005 15:42:13 +0000 (GMT) (envelope-from roam@ringlet.net) Received: (qmail 12939 invoked from network); 24 Mar 2005 15:42:07 -0000 Received: from unknown (HELO straylight.ringlet.net) (213.16.36.82) by gandalf.online.bg with SMTP; 24 Mar 2005 15:42:07 -0000 Received: (qmail 49129 invoked by uid 1000); 24 Mar 2005 15:42:10 -0000 Date: Thu, 24 Mar 2005 17:42:10 +0200 From: Peter Pentchev To: "H. S." Message-ID: <20050324154209.GE2974@straylight.m.ringlet.net> Mail-Followup-To: "H. S." , freebsd-hackers@freebsd.org References: <49296.81.84.174.5.1111346817.squirrel@mail.revolutionsp.com> <20050321125200.GA87158@ei.bzerk.org> <50376.81.84.174.5.1111599673.squirrel@mail.revolutionsp.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="KlAEzMkarCnErv5Q" Content-Disposition: inline In-Reply-To: <50376.81.84.174.5.1111599673.squirrel@mail.revolutionsp.com> User-Agent: Mutt/1.5.9i cc: freebsd-hackers@freebsd.org Subject: Re: passwd & permissions X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Mar 2005 15:42:15 -0000 --KlAEzMkarCnErv5Q Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Mar 23, 2005 at 11:41:13AM -0600, H. S. wrote: [snip] > Since pw is not setuid, if it can't read any of the passwd files, it will > not print the full userlist. I have very customized (and tested, over the > years) permissions on the whole filesystem. That is why I wanted to find > out why some permissions get back to system defaults whenever I install a > port. The most proeminent cases are /usr/local/sbin/ (gets back to rwx rx > rx) and /usr/local/www (rwx rx rx and chgrp wheel, I have a different > group owning the directory). >=20 > Any idea about what to fix in order to make the system stop resetting my > permissions when I install ports ? The mtree(8) file for the /usr/local hierarchy, found in /etc/mtree/BSD.local.dist G'luck, Peter --=20 Peter Pentchev roam@ringlet.net roam@cnsys.bg roam@FreeBSD.org PGP key: http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553 This sentence contains exactly threee erors. --KlAEzMkarCnErv5Q Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFCQt/R7Ri2jRYZRVMRAut4AJ9bDtVLVzr2s5qPG80OM0SvNW8W3gCbBUk/ xbKjzRohbnJkpbfDluZhCag= =L1sx -----END PGP SIGNATURE----- --KlAEzMkarCnErv5Q--