Script work fine on sheel, but no on a cron job

Alexandros Papadopoulos apapadop at alumni.cmu.edu
Thu Nov 1 14:11:18 GMT 2007


On 10/31/07, stephane.purnelle at corman.be <stephane.purnelle at corman.be> wrote:
>
> The script have line like
>
> rsync -avz --password-file=/usr/local/etc/rsync.pwd
> /etc/rsyncd.conf rsync://root@remote-node:/etc_conf

Your shell might have the RSYNC_PASSWORD environment variable preset,
while the script does not. Is the password file chmoded 0640 and owned
by root?

Does the remote daemon log something like
"Access denied for [module_name] for [IP_address]" ?

-A


More information about the rsync mailing list