Steve Main <[EMAIL PROTECTED]> wrote:
> 
> I have a script that will run with the SUID bit set.  This of course has
> generated a bunch of problems.  As I have been working through them I have
> come across one that I just can't seem to figure out.
> 
> I want to get this ( or some equivalent) to work:
> 
> $oraProgName   = `/usr/bin/basename $0`;
> 
> this command gives me "Insecure dependency in `` while running setuid at"
> yada yada yada
> 
> does anyone have a way to make this work?

  use File::Basename;
  $ora_prog_name = basename $0;

-- 
Steve

perldoc -qa.j | perl -lpe '($_)=m("(.*)")'

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to