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

Re: Mono app packaging



On Wed, 2006-01-11 at 04:41 -0500, Jakub Jelinek wrote:
> But
> if [ -e ./Config.exe ] && [ -e ./Makefile.am ] ; then
>     echo "*** Running uninstalled Config.exe ***"
>     THIS_PATH="../Util:../BeagleClient"
>     THIS_EXE="./Config.exe"
>     THIS_FILTERS="../Filters"
> else
>     THIS_PATH="/usr/lib/beagle:/usr/lib"
>     THIS_EXE="/usr/lib/beagle/Config.exe"
> fi
> 
> crap in all the scripts certainly is not the standard for many types of
> apps.  This has no business to be in the installed version of the scripts,
> there we know we want to run the installed one and really shouldn't change
> behavior depending on content of the current working directory.

Agreed.

This is potentially a big security issue, akin to having the current
directory in the $PATH (or even worse, first in the $PATH).

Dax Kelson
Guru Labs


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