DragonFly commits List (threaded) for 2009-04
DragonFly BSD
DragonFly commits List (threaded) for 2009-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: YONETANI Tomokazu <qhwt+dfly@xxxxxxxxxx>
Date: Thu, 23 Apr 2009 22:12:09 +0900

On Fri, Apr 17, 2009 at 02:09:45PM -0700, Matthew Dillon wrote:
> commit 74fa57e3e606c3a784588be70cc35e23b698924d
> Author: Matthew Dillon <dillon@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]