Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Mar 2005 17:42:10 +0200
From:      Peter Pentchev <roam@ringlet.net>
To:        "H. S." <security@revolutionsp.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: passwd & permissions
Message-ID:  <20050324154209.GE2974@straylight.m.ringlet.net>
In-Reply-To: <50376.81.84.174.5.1111599673.squirrel@mail.revolutionsp.com>
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>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050324154209.GE2974>