DragonFly- DragonFly_RELEASE_2_2 bin/cpdup cpdup.c

Matthew Dillon dillon at apollo.backplane.com
Mon Apr 27 20:53:17 PDT 2009

:As I replied to Matt's commit(74fa57e3), this patch alone makes cpdup
:complain about failure of chown() (which is OK), and return non-zero
:code(which is NOT OK), if you run it as a non-root user, and you're
:trying to mirror a tree you don't own.  It also breaks buildworld
:as a non-root user, but apparently another commit(17e9c4cc) has fixed
:the issue.

    After testing it does appear that my ownership commit did fix the
    issue, and it should be in the 2.2.1 that I rolled.

    The 2.2.1 that I rolled does not have the ownership check on directories
    MFC, but it does have the allow-chown-to-fail-if-not-root fix.  With
    the allow-chown-to-fail fix in it should work with or without the
    ownership check on directories.

					Matthew Dillon 
					<dillon at backplane.com>

More information about the Commits mailing list