FreeBSD web build failed on www.freebsd.org
roam at ringlet.net
Mon Apr 7 07:56:36 UTC 2003
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.
Peter Pentchev roam at ringlet.net roam at sbnd.net roam at 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?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 187 bytes
Desc: not available
More information about the freebsd-doc