From owner-freebsd-doc@FreeBSD.ORG Mon Apr 7 00:56:36 2003 Return-Path: Delivered-To: freebsd-doc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 329B037B404 for ; Mon, 7 Apr 2003 00:56:36 -0700 (PDT) Received: from gandalf.online.bg (gandalf.online.bg [217.75.128.9]) by mx1.FreeBSD.org (Postfix) with SMTP id 71C2243FAF for ; Mon, 7 Apr 2003 00:56:34 -0700 (PDT) (envelope-from roam@ringlet.net) Received: (qmail 6211 invoked from network); 7 Apr 2003 07:51:27 -0000 Received: from office.sbnd.net (HELO straylight.ringlet.net) (217.75.140.130) by gandalf.online.bg with SMTP; 7 Apr 2003 07:51:24 -0000 Received: (qmail 18981 invoked by uid 1000); 7 Apr 2003 07:54:30 -0000 Date: Mon, 7 Apr 2003 10:54:29 +0300 From: Peter Pentchev To: "Bruce A. Mah" Message-ID: <20030407075429.GB527@straylight.oblivion.bg> Mail-Followup-To: "Bruce A. Mah" , World Wide Web Owner , freebsd-doc@freebsd.org References: <200304040654.h346sXah017211@www.freebsd.org> <20030404070136.GA40667@intruder.bmah.org> <20030404080640.GB7008@straylight.oblivion.bg> <20030404173546.GA32903@intruder.bmah.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="jRHKVT23PllUwdXP" Content-Disposition: inline In-Reply-To: <20030404173546.GA32903@intruder.bmah.org> User-Agent: Mutt/1.5.4i cc: freebsd-doc@freebsd.org cc: World Wide Web Owner Subject: Re: FreeBSD web build failed on www.freebsd.org X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Apr 2003 07:56:36 -0000 --jRHKVT23PllUwdXP Content-Type: text/plain; charset=windows-1251 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Apr 04, 2003 at 09:35:46AM -0800, Bruce A. Mah wrote: > If memory serves me right, Peter Pentchev wrote: > > On Thu, Apr 03, 2003 at 11:01:36PM -0800, Bruce A. Mah wrote: > > > If memory serves me right, World Wide Web Owner wrote: > > >=20 > > > > install -C -o bmah -g www -m 664 /w/www/build/www/en/applications.= html /usr/local/www/data > > > > install: /usr/local/www/data/applications.html: chown/chgrp: Operat= ion not permitted > > >=20 > > > This is the result of me trying to trigger Web updates. I'm not sure > > > why it's trying to install files as me. Sorry for the chatter. > >=20 > > I think both web.site.mk and doc.install.mk have always done what > > doc.install.mk calls 'hack to set DOCOWN and DOCGRP to those of the user > > installing, if that user is not root'. >=20 > What was puzzling me was that I was logged in as www at the time > (well, logged in as me, and then ksu-ed to www). Oh well. If you ksu'd without '-l' (or just '-'), then ksu did not set the USER env variable, and $USER is exactly what web.site.mk uses to determine whether you are the World Wide Web or not... or rather, which user to install files as. G'luck, Peter --=20 Peter Pentchev roam@ringlet.net roam@sbnd.net 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 What would this sentence be like if it weren't self-referential? --jRHKVT23PllUwdXP Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+kS607Ri2jRYZRVMRAoyZAJ466FVolvppdNRmlObAsDR92A7DgACgnFkw IZSz+CrFfFiL4L16laI2Ep0= =rrcY -----END PGP SIGNATURE----- --jRHKVT23PllUwdXP--