• David Dykstra's avatar
    When writing to a daemon with read only = false and uid = root and -g, · 128cf584
    David Dykstra authored
    was not preserving group permisions.  Bug was introduced March 1 in
    version 1.100 of rsync.c with an error in re-ordering of the boolean
    expressions.  In order to completely preserve the earlier semantics,
    change_gid should depend on "(am_root || !am_daemon)", but I don't see why
    group ownership should behave differently in a non-root daemon.
    128cf584
rsync.c 5.79 KB