From: Wayne Davison Date: Tue, 14 Jan 2025 21:09:33 +0000 (-0800) Subject: Force rsync group when uploading files. X-Git-Tag: v3.4.1~8 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a6312e60c95e5ebb5764eaf18eb07be23420ebc6;p=thirdparty%2Frsync.git Force rsync group when uploading files. --- diff --git a/packaging/samba-rsync b/packaging/samba-rsync index 8691846a..b291b276 100755 --- a/packaging/samba-rsync +++ b/packaging/samba-rsync @@ -121,4 +121,4 @@ fi cd "$SRC_DIR" || exit 1 echo "Copying files from $SRC_DIR to $RSYNC_SAMBA_HOST ..." -do_rsync -aivOHP --del -f._$FILT . "$RSYNC_SAMBA_HOST:$DEST_DIR/" +do_rsync -aivOHP --chown=:rsync --del -f._$FILT . "$RSYNC_SAMBA_HOST:$DEST_DIR/"