On Sun, Jul 05, 2009 at 06:47:18PM +0530, Sandeep Bhaskar wrote:
>monipol <moni...@gmx.com> wrote:
> > What Fink command were you running when you got that error?
> fink -m -K --build-as-nobody rebuild gnowsys
> 
> > Where exactly are you issuing that su command (CompileScript,
> > InstallScript, PostInstScript, ...)?
> The InstallScript section within gnowsys.info file contains:
> 
> InstallScript: <<
> sh install.sh %i %b %d %p
> <<
> 
> The command su postgres -c ./gnowsys-pg-install.sh* *is called from within
> this install.sh and not directly from within the .info file.

su and sudo are not allowed under --build-as-nobody. Being able to
become a different user (who presumably can write to various places on
the filesystem) breaks the protection of --build-as-nobody, which
specifically prevents a broken build script from accidentally writing
to the filesystem anywhere except in the fink packaging dirs (%d and
%b).

What does gnowsys-pg-install.sh do that requires being the postgres
user?

dan

-- 
Daniel Macks
dma...@netspace.org
http://www.netspace.org/~dmacks


------------------------------------------------------------------------------
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel

Reply via email to