Hello,

I am trying to copy, on the same server, a set of files. I need to
copy them every day with a cron job.

This is working fine the only problem is that he always changes the
owner and group to the root user.

Is there a possibility that he uses the user of the remote files and
not the root user ?

rsync --archive --exclude ".htaccess" /home/virtual/site5/fst/var/www/
html/ /home/virtual/site10/fst/var/www/html/aaa/

Thanks,

Hans Mignon