On 8/8/06, Matthew Smith <[EMAIL PROTECTED]> wrote:
When I try to backup, most of the files are copied.  Trouble is, some aren't
since some directories are copied over and land on my linux box with
permissions of 000.  Because of that, rsync can't copy any other files into
that dir and moves on.

Interesting.  Currently rsync ensures that directories are
user-writable while it is putting files in them; I guess rsync should
ensure that they are user-readable and user-executable too.

I'd really just like rsync to copy over files all at the same permission
level (say 770) or something.  Is that possible?

The --chmod option added in rsync 2.6.7 will do that.  Specify
--chmod=ug=rwX,o= to give files 770 or 660 permissions as appropriate.

Matt
--
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