Rsync : execute permission required

Posted by user651488 on Server Fault See other posts from Server Fault or by user651488
Published on 2011-03-09T13:27:18Z Indexed on 2011/03/09 16:11 UTC
Read the original article Hit count: 204

Filed under:
|
|

I'm using rsync between two servers to transfer files.

The problem is some files are not transferred. I get this error : rsync: readlink "/var/www/index.html" failed: Permission denied (13)

So I check permissions on the server and after make tests, I notice a file is transferred only if it has these permissions : R-W ! If the file have these permissions : R--, Rsync can't download it !?

Command:

/usr/bin/rsync -avzr -e "/usr/bin/ssh -i /home/replication/thishost-rsync-key" [email protected]:/var/www/index.html ./

Is it a bug with Rsync ? I find any information about this problem.

Thanks for your help

Debian Etch 2.6.30 Rsync 2.6.9 protocol version 29

© Server Fault or respective owner

Related posts about permissions

Related posts about rsync