Permissions of the top-level destination directory without --perms

Matt McCutchen hashproduct+rsync at gmail.com
Sat Feb 17 15:46:37 GMT 2007


On 2/17/07, Matt McCutchen <hashproduct+rsync at gmail.com> wrote:
> On 2/17/07, Paul Slootman <paul at debian.org> wrote:
> > Actually, I find the above behaviour to be what I'd expect;
> > after all, you're telling it to transfer the contents of src, not src
> > itself; and dest is an implied directory, and created with default
> > permissions.
> [...]
> An "implied directory" is one that is not included in the file list.
> But as you can see by adding --list-only, the top-level directory "."
> is included in the file list:

Oops, my definition of "implied directory" was bogus.  I meant to say
that rsync should only create a destination directory with default
permissions if the directory is not present in the file list, which is
not the case for "." .

Matt


More information about the rsync mailing list