Bug 12131 - Rsync reports directories but not files with changed permissions
Summary: Rsync reports directories but not files with changed permissions
Status: RESOLVED INVALID
Alias: None
Product: rsync
Classification: Unclassified
Component: core (show other bugs)
Version: 3.1.1
Hardware: All All
: P5 normal (vote)
Target Milestone: ---
Assignee: Wayne Davison
QA Contact: Rsync QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-08 16:04 UTC by Joó Ádám
Modified: 2020-07-26 09:34 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/
Comment 1 Wayne Davison 2020-07-26 09:34:56 UTC
You need to use -i or -vv to see attribute changes. A single level of verbosity without -i only tells you about transferred files.