[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: What to do if $PACKAGE needs $ACCOUNT to _build_



On Sun, Jun 08, 2003 at 08:51:00PM +0200, Marc Haber wrote:

> I am currently preparing packages for rrfw (see bug#186828). The
> daemons that come with rrfw run as user rrfw, and the Makefiles of
> that package insist on chowning some files to rrfw at build time. That
> - of course - fails when the rrfw account does not exist at build
> time.
> 
> How am I supposed to handle this? Shall I change the build mechanisms
> so that the account is not needed at build time, shall I pester
> upstream to have that changed, or is there a workaround available?

At _build_ time?  This makes no sense to me.  This would prevent anyone from
building the software as a user other than root.

Or did you mean at install time?

In either case, just disable whatever code is doing this.  If the files need
certain ownership on the installed system, set the permissions in postinst
(allowing for the user to dpkg-statoverride them if they want).

-- 
 - mdz



Reply to: