in reply to Re: How do I allow my test script to get rsync to archive file ownership?
in thread How do I allow my test script to get rsync to archive file ownership?
I'm already using an ssh key for the remote machine. I'm referring to the password prompt for the sudo command in my bash script.
Regarding the libraries, in my bash profile, I have PERL5LIB=/path/to/my/perl/modules. The modules in my PERL5LIB path weren't installed with cpan. They are just simple module files located in a regular old directory.
For rsync's archive feature to work properly, using the root user is the prescribed way to do it, at least from what I've read. See this discussion, for example.
Thanks!
$PM = "Perl Monk's";
$MCF = "Most Clueless Friar Abbot Bishop Pontiff Deacon Curate Priest";
$nysus = $PM . ' ' . $MCF;
Click here if you love Perl Monks
|
---|