From owner-freebsd-questions@FreeBSD.ORG Wed Feb 25 18:15:59 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F04151065670 for ; Wed, 25 Feb 2009 18:15:59 +0000 (UTC) (envelope-from bseklecki@collaborativefusion.com) Received: from collaborativefusion.com (mx01.pub.collaborativefusion.com [206.210.89.201]) by mx1.freebsd.org (Postfix) with ESMTP id 89FC38FC0C for ; Wed, 25 Feb 2009 18:15:59 +0000 (UTC) (envelope-from bseklecki@collaborativefusion.com) Received: from Internal Mail-Server by mx01 (envelope-from bseklecki@collaborativefusion.com) with SMTP; 25 Feb 2009 12:49:16 -0500 From: "Brian A. Seklecki" To: Eric Schuele In-Reply-To: <49A577EE.3030604@computer.org> References: <9fa4f0760902191356s7297d7b0ycac7ff0a885efd1f@mail.gmail.com> <49A577EE.3030604@computer.org> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-o8XNgmuqmKR/pRo//Zup" Organization: Collaborative Fusion, Inc. Date: Wed, 25 Feb 2009 12:49:16 -0500 Message-Id: <1235584156.21167.108.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> Mime-Version: 1.0 X-Mailer: Evolution 2.24.4 (2.24.4-1.fc10) Cc: freebsd-questions@freebsd.org, Aleksandr Miroslav Subject: Re: weird permissions on directories when installing ports through sudo X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bseklecki@collaborativefusion.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Feb 2009 18:16:00 -0000 --=-o8XNgmuqmKR/pRo//Zup Content-Type: text/plain Content-Transfer-Encoding: quoted-printable > lowering the umask of the person running sudo. >=20 > This had the effect of truly screwing up many installed ports for me=20 Maybe try "sudo -H -u root [command]" NetBSD Pkgsrc is nice in this respect because it has sudo(8) integration in the MKs. ~BAS --=-o8XNgmuqmKR/pRo//Zup Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEABECAAYFAkmlhJwACgkQCne6BNDQ+R/LoQCeM/XopQ8/vbfFdwV70z5nIO1R sSMAn0ggiqgGJ9pHqhd3lseGIb5o3o8c =APkf -----END PGP SIGNATURE----- --=-o8XNgmuqmKR/pRo//Zup--