🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #4140

Bug#1153737: rrsync: receiver push onto an existing file always fails

#4140
From: Moritz Schlarb
Date: Wed, 11 Nov 2026 14:30
35 lines
2755 bytes
Package: rsync
Version: 3.5.0+ds1-0+deb12u1
Severity: normal
Tags: patch upstream
Forwarded: https://github.com/RsyncProject/rsync/issues/1107

I have a setup where I use rrsync as SSH_FORCED_COMMAND on the recieving side
and since the update to rsync 3.5.0, this failed with

rsync: [generator] delete_file: unlink(4) failed: Operation not permitted (1)
could not make way for new regular file: 4
rsync error: some files/attrs were not transferred (see previous errors) (code
23) at main.c(1394) [sender=3.5.0]

This had already been reported upstream at
https://github.com/RsyncProject/rsync/issues/1107 and fixed by
https://github.com/RsyncProject/rsync/pull/1136 (which could be used as a
patch).

Thank you,
Moritz


-- System Information:
Debian Release: forky/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 7.2.15+deb14-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Technical Details
Message-ID: <NYhuN-beUp-1@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Moritz Schlarb <moschlar@debian.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1153737: rrsync: receiver push onto an existing file always fails
Date: Wed, 11 Nov 2026 15:30:01 +0100
Message-ID: <NYhuN-beUp-1@gated-at.bofh.it>
X-Original-To: Debian Bug Tracking System <submit@bugs.debian.org>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Wed Nov 11 14:27:08 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: Moritz Schlarb <moschlar@debian.org>, 1153737@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: samueloph@debian.org
X-Debian-Pr-Message: report 1153737
X-Debian-Pr-Package: rsync
X-Debian-Pr-Keywords: patch upstream
X-Debian-Pr-Source: rsync
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Mailer: reportbug 13.2.0+nmu1
X-Debian-User: moschlar
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2002039
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 35
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Wed, 11 Nov 2026 15:24:15 +0100
X-Original-Message-ID: <179440705593.582549.15647282813398985974.reportbug@schlarb-0>