Hello,

$ ssh remote mkdir /tmp/tests
$ ssh remote mkdir /tmp/tests/test.d
$ ssh remote touch /tmp/tests/test

$ ssh remote chmod 700 /tmp/tests
$ ssh remote chmod 700 /tmp/tests/test.d
$ ssh remote chmod 600 /tmp/tests/test

$ rsync -rp remote:/tmp/tests /tmp

$ chmod o+r /tmp/tests/test.d
$ chmod o+r /tmp/tests/test

$ rsync -rpcv --info=flist0,stats0 remote:/tmp/tests /tmp -n -i
.f...p..... tests/test
.d...p..... tests/test.d/

$ rsync -rpcv --info=flist0,stats0 remote:/tmp/tests /tmp -n
tests/test.d/

I would expect rsync to report changes in permissions consistently
both in case of files and directories.


Ádám

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