directory permissions not set until all files copied
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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rsync