Re: rsync --chmod affects the source permissions as well as destination permissions

2025-05-05 Thread Graham Leggett via rsync
On 05 May 2025, at 20:14, Derek Martin wrote: > If I understand correctly, I believe using --chmod without using > --perms (or with --no-p) will do what you want. Typical command lines > often use -a which equates to -rlptgoD (i.e. it includes -p/--perms). > So you either need to not use -a and

Re: rsync --chmod affects the source permissions as well as destination permissions

2025-05-05 Thread Derek Martin via rsync
On Tue, Apr 08, 2025 at 12:54:24PM +0100, Graham Leggett via rsync wrote: > I misunderstood the --chmod option, thinking that it specified the > permissions at the destination. What actually happens is that it > overrides the source permissions, and has a side effect of the > destination permission