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

-- 
View this message in context: 
http://www.nabble.com/owner-and-group-tf3192124.html#a8861757
Sent from the Samba - rsync mailing list archive at Nabble.com.

-- 
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to