DO NOT REPLY [Bug 4985] New: --list-only shows implied dirs even with --no-implied-dirs

samba-bugs at samba-bugs at
Sun Sep 23 00:28:17 GMT 2007

           Summary: --list-only shows implied dirs even with --no-implied-
           Product: rsync
           Version: 3.0.0
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: P3
         Component: core
        AssignedTo: wayned at
        ReportedBy: hashproduct+rsync at
         QAContact: rsync-qa at

I noticed that the current CVS rsync lists implied dirs in --list-only mode,
even if given --no-implied-dirs.  Is this behavior intended?  IMHO, it would be
better to omit entries for implied dirs from the list like rsync 2.6.9 did
because they are an implementation detail and do not carry any information of
significance to the user.  At the very least, showing their source attributes
is misleading because (as the man page description of --no-implied-dirs states)
the attributes are never applied to the destination.

To see the current behavior, run:

mkdir -p a/b
chmod 3756 a    # Notice that this wacky mode appears in the listing
                # even though the receiver doesn't apply it.
rsync -a -R --no-implied-dirs --list-only a/b

The result:

drwxr-srwT          72 2007/09/22 20:24:55 a
drwx------          48 2007/09/22 20:24:55 a/b

Configure bugmail:
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.

More information about the rsync mailing list