<br>Hi <br><br>i got two server webserver1 and webserver2 i want to rsync some data form webserver1 to webserver2 using a user called syncuser <br><br>( syncuser is added to the group apache : adduser -G apache syncuser ) <br>
<br>here is my command : <br><br>[root@web1 projects]# rsync -avzh /var/www/projects/beta-website1 syncuser@web2server:/var/www/projects<br>syncuser@web2server password:<br>building file list ... done<br>beta-website1<br>
rsync: failed to set times on "/var/www/projects/beta-website1": Operation not permitted (1)<br>beta-website1/index.html<br>rsync: mkstemp "/var/www/projects/beta-website1/.index.html.ZW9de8" failed: Permission denied (13)<br>
rsync: failed to set times on "/var/www/projects/beta-website1": Operation not permitted (1)<br><br>sent 219 bytes received 54 bytes 60.67 bytes/sec<br>total size is 57 speedup is 0.21<br>rsync error: some files could not be transferred (code 23) at main.c(892) [sender=2.6.8]<br>
<br><br>on webserver2 my permission are as follows ( i dont not want to change the permissions, i want user and group to be apache ) <br><br>[root@web6 projects]# ll<br>total 20<br>drwxr-xr-x 2 apache apache 4096 Feb 7 15:54 beta-website1<br>
<br clear="all"><br>Can some one help me understand how to sync thses files .<br><br><br><br>-- <br>Regards <br>Agnello D'souza<br><br><br>