directory permissions not set until all files copied

Wayne Davison wayned at samba.org
Sun May 25 17:43:54 MDT 2014


On Wed, May 7, 2014 at 1:13 AM, Michael Johnson - MJ <mj at revmj.com> wrote:

> I noticed today, that rsync does not appear to set the permissions on a
> directory until all of the contents are in place.
>

This is true if you are using incremental recursion since rsync is trying
to finish a dir's contents in time to set the dir's mtime before moving on
to the reset of the tree.  If you specify --no-inc-resursive you'll avoid
these early-create directories.  I am also checking in a change to the
--omit-dir-times code (-O) (or --no-times) to make it also avoid these
early-create directories, which allows someone to continue to use
incremental recursion w/o seeing these early-create directories.

..wayne..
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.samba.org/pipermail/rsync/attachments/20140525/ce3efab0/attachment.html>


More information about the rsync mailing list