hey, Fastolfe... the script isn't as simple as that, but it might as well be... the script itself is made to remotely log on to dozens of machines, read the permsissions of a dir. of files and change the ones that aren't set correctly... sometimes this means hundreds of files per machine... doing a remsh from the master machine for each file is time and resource heavy... copying a file/script to the machine and excuting it is much quicker and easier for the system... but rcp isn't working, hence my question... OS for all systems involved is HP-UX 10.20... if i simplify the script down to just enough to reproduce the problem, it looks like just what you wrote about... the rest is simply work on the permssions and logging... the script runs perfect except for this one problem... the script has the perl path in it and i run it direct from the command line... ultimately it will be run from crontab (where, i've tried, it still doesn't get rcp to work... sigh... any other way to copy a file remotely in perl?)... thanks for all the help... magnus