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

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


https://bugzilla.samba.org/show_bug.cgi?id=4985

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


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: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- 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