On Thu 20 Dec 2012, Ryan  John wrote:
> On Thu 20 Dec 2012, Ryan  John wrote:
> >>
> >> The umask would be preferable to using --chmod. Is that possible?
> 
> > Don't you just want to use -a instead of -r in your options to rsync?
> > That will include -p that will preserve permissions from the source.
> 
> That's the problem, the source permissions are --------- , which I don't 
> want/can't use in the destination.

In that case --chmod is what you want to turn bits on.
umask just defines what bits to turn OFF.

(Ignoring the fact that I'd say that having source perms --------- will
prevent rsync from reading the files in the first place...)


Paul
-- 
Please use reply-all for most replies to avoid omitting the mailing list.
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