Subject: Re: Using SU_CMD=sudo results in files owned by the build-user
To: None <pkgsrc-users@netbsd.org>
From: Lars Nordlund <lars.nordlund@hem.utfors.se>
List: pkgsrc-users
Date: 06/13/2006 08:37:40
On Tue, 13 Jun 2006 03:17:55 +0000
"Johnny C. Lam" <jlam@pkgsrc.org> wrote:
> On Mon, Jun 12, 2006 at 08:41:49PM +0200, Lars Nordlund wrote:
> > 
> > When using SU_CMD=sudo in pkgsrc, some packages will install files owned
> [snip]
> 
> What exactly is SU_CMD being set to?  Just "sudo"?

SU_CMD=/usr/pkg/bin/sudo /bin/sh -c

Basically what
http://www.netbsd.org/Documentation/pkgsrc/faq.html#using-sudo-with-pkgsrc
says. I do not remember why I switched from using LOCALBASE to the
exact path. Maybe an ancient problem.


Best regards,
	Lars Nordlund