Subject: Re: Unpriviledged installs (was Re: CVS commit: sharesrc)
To: Simon Burge <simonb@netbsd.org>
From: Michael Richardson <mcr@sandelman.ottawa.on.ca>
List: tech-install
Date: 08/14/1999 14:23:22
>>>>> "Simon" == Simon Burge <simonb@netbsd.org> writes:
    Simon> In bsd.doc.mk and bsd.files.mk "${INSTALL} ${RENAME} ${PRESERVE}" has
    Simon> changed to "${INSTALL} ${PRESERVE}".  Is there a reason for this?  The
    Simon> other files seem ok.

  This is a mistake. What is the intended purpose of ${RENAME}, btw.

    Simon> That said, wouldn't it be easier to use the -U option of install?  I'm
    Simon> pretty sure that -U came well after PR #3563.  From the install(1)
    Simon> manpage:

  This is new. Yes, it would be better. As such, I withdraw my patches.

    Simon>      -U      Indicate that install is running unpriviledged, and that it
    Simon>              should not try to change the owner or the group of the destina-
    Simon>              tion.  A future version of this file may log the owner/group in-
    Simon>              formation elsewhere; currently, it's just discarded.

    Simon> Then we could just stick

    Simon> 	UNPRIVILEDGED?=

    Simon> in bsd.own.mk and use that on all the install commands...

  Yes, please!
  Do you want me to do these patches?

]      Out and about in Ottawa.    hmmm... beer.                |  firewalls  [
]   Michael Richardson, Sandelman Software Works, Ottawa, ON    |net architect[
] mcr@sandelman.ottawa.on.ca http://www.sandelman.ottawa.on.ca/ |device driver[
] panic("Just another NetBSD/notebook using, kernel hacking, security guy");  [