Insecure dependency while running ... ERROR

  • akaash
  • Beginner
  • Beginner
  • akaash
  • Posts: 62
  • Loc: Gujurat,India

Post 3+ Months Ago

I m getting the following error:

Insecure dependency in open while running setuid at /var/www/cgi-bin/addusers.cgi line 170.

My line 170 is as follows:

open (FILE,">$userdir/$username-sent.dat") || die "Unable to create contacts file: $!";

where $userdir=/home/temp/sav
and $username=xyz (any username)

/home/temp/sav is having 777 permission.


The above mentioned error is resolved when i hardcode the open line as:

open (FILE,">$userdir/xyz-sent.dat") || die "Unable to create contacts file: $!";

what can be the problem and what to do??
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

Post Information

  • Total Posts in this topic: 1 post
  • Users browsing this forum: No registered users and 95 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.