rsync from apache

Jean-Christophe Roux jcxxr at
Tue May 20 18:28:31 GMT 2008


I have a bash script that contains:
rsync -- delete -avz -e ssh ${files} root at 64.XXX:/red
when I use that script  ./ as root, it works like a charm as I set up the private/public key  properly.
When run from a php script through the apache  webserver
The  rsync line is ignored. 
I understand that the php script is called under  the apache user, when the private/public key is for my root user. How can I  set the the keys so that the apache user can run fully the php  script? 
Thank you

-------------- next part --------------
HTML attachment scrubbed and removed

More information about the rsync mailing list