> Date: Fri, 24 Oct 2014 08:35:40 +0200
> From: Landry Breuil <lan...@rhaalovely.net>
> 
> On Fri, Oct 24, 2014 at 02:34:54AM -0400, thev...@openmailbox.org wrote:
> > with SUDO set in /etc/mk.conf:
> >   if make release is run as root it will not proceed.
> >   if run as a regular user it gets further, but fails on permissions.
> > 
> > without SUDO in /etc/mk.conf (and i presume the environment) it works fine.
> > 
> > is there any way around this allowing /etc/mk.conf (which is useful for 
> > ports)?
> > i can always move it temporarily, add it to my automated scripts, but is 
> > there
> > a better way?
> > 
> > 
> > $ cat /etc/mk.conf
> > SUDO=/usr/bin/sudo
> 
> I think (and this is probably somewhere in the docs) you should use sudo -E.

-E is a rather dangerous sudo option.

Reply via email to