]> git.ipfire.org Git - thirdparty/rsync.git/commitdiff
Force rsync group when uploading files.
authorWayne Davison <wayne@opencoder.net>
Tue, 14 Jan 2025 21:09:33 +0000 (13:09 -0800)
committerWayne Davison <wayne@opencoder.net>
Tue, 14 Jan 2025 21:09:33 +0000 (13:09 -0800)
packaging/samba-rsync

index 8691846a016f4e1f17de92c68ace17dcdaf58a67..b291b276d052141568965d01f4fffd17552dc89a 100755 (executable)
@@ -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/"