Bug 12131 - Rsync reports directories but not files with changed permissions
Rsync reports directories but not files with changed permissions
Status: NEW
Product: rsync
Classification: Unclassified
Component: core
3.1.1
All All
: P5 normal
: ---
Assigned To: Wayne Davison
Rsync QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2016-08-08 16:04 UTC by Joó Ádám
Modified: 2016-08-08 16:04 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joó Ádám 2016-08-08 16:04:19 UTC
$ 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/