I'm trying to do a simple rsync:

rsync -av [EMAIL PROTECTED]:/backup .

But a number of files in /backup are readable only by
root, and hence rsync gives these errors:

sync: send_files failed to open
"/backup/etc/mail/virtusertable.db": Permission denied
(13)

Since root login is disabled, I can't simple do
'[EMAIL PROTECTED]'. I searched a bit and saw this:

rsync -av --rsync-path='sudo path'
[EMAIL PROTECTED]:/backup .

I tried it -- rsync asks for my password, but then
doesn't output anything after many minutes (after
which I kill it).

So, how can I rsync files from my remote server so all
the files are readable and the existing permissions
get preserved (e.g. not having to do 'chmod -R a+r
/backup'.

Thanks,
Joe

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.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