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>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] 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: > > > > > > > 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: Operation not permitted > > > > > > 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. > > > > 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'. > > 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 -- 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? [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+kS607Ri2jRYZRVMRAoyZAJ466FVolvppdNRmlObAsDR92A7DgACgnFkw IZSz+CrFfFiL4L16laI2Ep0= =rrcY -----END PGP SIGNATURE-----help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030407075429.GB527>
