Absolute paths and ./ paths seem like very acceptable options.  Thanks!

On 3/2/07, Thomas Lotterer <[EMAIL PROTECTED]> wrote:

Doug Henry <[EMAIL PROTECTED]> wrote on 2007-02-28 20:23:
> I take it relative paths are no longer supported?
> Previously I had the line "-r ." in my ~/.openpkg/build file.
>
I don't wanna say relative paths are supported because the "openpkg"
setUID
wrapper may change directory under certain circumstances. One case I know
of is
that it changes to $HOME when $PWD becomes inaccessible, which can happen
if an
instance manager has the current working directory on a NFS drive with the
usual root->nobody mapping and executes a command which requires root
privileges.

That said I also do not want to introduce artificial limitations. So I
added
support for relative paths identified by "./" (no plans to add .. or "all
but
leading /" detection).

Available with openpkg-tools-1.4.4, included with openpkg-20070302.

--
http://thomas.lotterer.net
______________________________________________________________________
OpenPKG                                             http://openpkg.org
User Communication List                      openpkg-users@openpkg.org

Reply via email to