-------------------8<-------------------------------------------
system("rcp $workdir/installP.pl $remhost:installP.pl");
says permission denied
i am not much familier with rcp
i have tried several combination such as applying " root@ " before
$workdir
etc sometimes it says permission denied or else it says unknown host
machine on which i am writing script , i am a user not root
at many places scripts assume root so i put " -l root" with rexec or remsh
not know about rcp -
system("rcp $workdir/installP.pl $remhost:installP.pl");
" $remhost root " entry is there in .rhosts
see if anyone can tell me the possible causes.
-------------------8<-------------------------------------------
Please dont post in HTML, and dont cross post either.
Does rcp $workdir/installP.pl $remhost:installP.pl work from
the command prompt?
If it doesnt then theres no way that perl will be able to.
You can help yourself with some form of error checking:-
system(rcp $workdir/installP.pl $remhost:installP.plr) or die "Cant copy:-
$!\n";
_______________________________________________
Perl-Unix-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs