DragonFly-2.3.0.746.g74fa5 master bin/cpdup cpdup.c

YONETANI Tomokazu qhwt+dfly at les.ath.cx
Thu Apr 23 06:14:54 PDT 2009


On Fri, Apr 17, 2009 at 02:09:45PM -0700, Matthew Dillon wrote:
> commit 74fa57e3e606c3a784588be70cc35e23b698924d
> Author: Matthew Dillon <dillon at apollo.backplane.com>
> Date:   Fri Apr 17 14:08:31 2009 -0700
> 
>     CPDUP - Fix lack of error reporting if created target directory cannot stat.
>     
>     Fix a lack of error reporting if a just-created target directory cannot
>     be stat()'ed or chown()'d.

But I don't like cpdup to return non-zero status when it failed to chown()
the target directory when I told it to mirror a tree not owned by me.
The new behavior also breaks `make buildworld' in /usr/src/include when
run by a non-root user who doesn't own the source tree.

> http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/74fa57e3e606c3a784588be70cc35e23b698924d





More information about the Commits mailing list