rsync without POSIX ACLs
Paul Slootman
paul+rsync at wurtel.net
Thu Dec 20 06:54:01 MST 2012
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
More information about the rsync
mailing list