strip setuid/setgid bits on backup (was Re: small security-related rsync extension)

Adrian Ho aho-sw-rsync at 03s.net
Mon Jul 8 03:02:02 EST 2002


On Mon, Jul 08, 2002 at 05:37:13PM +0800, Adrian Ho wrote:
> I'm inclined to push for more flexibility with:

Actually, make that:

  --post-send=<exec_pathname>
  --post-recv=<exec_pathname>
    Runs <exec_pathname> on the sender/receiver just before rsync exits.
    <exec_pathname> is passed a list of fully-qualified pathnames on
    stdin (one per line) that have been created, modified or deleted by
    this rsync instance.

- Adrian




More information about the rsync mailing list