hello I'm having 2 problems with rsync... one is consequence of the other 1) I'm running an rsyncd one a server... then I run rync (client) as root on another server even being root, it doesn't read files/dirs with chmod 000 for example and gives error on them 2) when these error happens, it happens "IO error encountered" and it skip the "--delete" (I tried "--force", but doesn't work too) is there a way to fix that? that's ok for me if the first "problem" is not a problem, but a feature... but I'd need the --delete for this files thanks, Fernando
On Wed, 2006-04-12 at 22:23 -0300, TDT wrote:> 2) when these error happens, it happens "IO error encountered" and it > skip the "--delete" (I tried "--force", but doesn't work too) > I'd need the --delete for this filesYou want --ignore-errors. -- Matt McCutchen hashproduct@verizon.net http://hashproduct.metaesthetics.net/
On Wed, Apr 12, 2006 at 10:23:32PM -0300, TDT wrote:> 1) I'm running an rsyncd one a server... then I run rync (client) as > root on another server > even being root, it doesn't read files/dirs with chmod 000 for example > and gives error on themWhich way are you copying? The rootness of the client doesn't affect what user an rsync daemon is running as, so if you're copying from an rsync daemon, you need to ensure that its config file specifies that it should run as root if you need it to be running as root (it defaults to "nobody"). ..wayne..