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

DragonFly-2.3.0.808.gc06512 master bin/cpdup cpdup.c cpdup.h hcproto.c


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 7 Jul 2009 11:20:34 -0700 (PDT)

commit c065129d9b559c4dda62925b43d5d08c7c33abd5
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Sat Apr 25 11:39:45 2009 -0700

    Add cpdup feature - allow uid/gid/flags changes to fail if running as user
    
    If running as a user instead of root uid, gid, and flags changes are allowed
    to fail and also, if running as a user, no longer force a copy if they
    differ but the mtime and size are the same.  Generate a single warning
    instead.
    
    Reorder the call to setutimes to occur after chown/chmod instead of before,
    and to occur after a chflags call if IMMUTABLE is not set.

Summary of changes:
 bin/cpdup/cpdup.c   |   89 +++++++++++++++++++++++++++++++++++++++------------
 bin/cpdup/cpdup.h   |    2 +
 bin/cpdup/hcproto.c |   84 +++++++++++++++++++++++++++++++++++++++++++-----
 3 files changed, 145 insertions(+), 30 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/c065129d9b559c4dda62925b43d5d08c7c33abd5


-- 
DragonFly BSD source repository



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