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.2.0.34.g50a5f DragonFly_RELEASE_2_2 bin/cpdup cpdup.c


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Mon, 27 Apr 2009 20:52:14 -0700 (PDT)

: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.

					-Matt
					Matthew Dillon 
					<dillon@backplane.com>



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