go ahead... be a heretic | |
PerlMonks |
Re: EUID cannot be setby jettero (Monsignor) |
on May 09, 2007 at 21:19 UTC ( [id://614497]=note: print w/replies, xml ) | Need Help?? |
I wasn't aware you could set the uid and gid through those vars... neat. I've always used POSIX::setuid (and setgid). perlvar states that if $> = $uid or $< = $uid fails that it sets the $! to an appropriate error message. I'd look there. $< = $> = 1000 or die "hrmph... silly perms or something: $!"; -Paul
In Section
Seekers of Perl Wisdom
|
|