Date: Mon, 7 Apr 2003 10:54:29 +0300 From: Peter Pentchev <roam@ringlet.net> To: "Bruce A. Mah" <bmah@freebsd.org> Cc: World Wide Web Owner <www@freebsd.org> Subject: Re: FreeBSD web build failed on www.freebsd.org Message-ID: <20030407075429.GB527@straylight.oblivion.bg> In-Reply-To: <20030404173546.GA32903@intruder.bmah.org> References: <200304040654.h346sXah017211@www.freebsd.org> <20030404070136.GA40667@intruder.bmah.org> <20030404080640.GB7008@straylight.oblivion.bg> <20030404173546.GA32903@intruder.bmah.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030407075429.GB527>