Devuan bug report logs - #667
rsync: fails to honour a tilde (~) in --log-file option

version graph

Package: rsync; Maintainer for rsync is (unknown); Source for rsync is src:rsync.

Reported by: Dave <rsync-bug-2c04@wsfd.ath.cx>

Date: Fri, 4 Mar 2022 22:58:02 UTC

Severity: normal

Found in version 3.1.3-6

Done: Mark Hindley <mark@hindley.org.uk>

Full log


🔗 View this message in rfc822 format

X-Loop: owner@bugs.devuan.org
Subject: bug#667: rsync: fails to honour a tilde (~) in --log-file option
Reply-To: Mark Hindley <mark@hindley.org.uk>, 667@bugs.devuan.org
Resent-From: Mark Hindley <mark@hindley.org.uk>
Resent-To: devuan-bugs@lists.dyne.org
Resent-CC: devuan-dev@lists.dyne.org
X-Loop: owner@bugs.devuan.org
Resent-Date: Sun, 06 Mar 2022 07:50:02 +0000
Resent-Message-ID: <handler.667.B667.164655298112464@bugs.devuan.org>
Resent-Sender: owner@bugs.devuan.org
X-Devuan-PR-Message: followup 667
X-Devuan-PR-Package: rsync
X-Devuan-PR-Keywords: 
References: <1646434552.553901.25226.nullmailer@defau-lt43.homenet> <1646434552.553901.25226.nullmailer@defau-lt43.homenet>
Received: via spool by 667-submit@bugs.devuan.org id=B667.164655298112464
          (code B ref 667); Sun, 06 Mar 2022 07:50:02 +0000
Received: (at 667) by bugs.devuan.org; 6 Mar 2022 07:49:41 +0000
Delivered-To: devuanbugs@dyne.org
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.16)
	for <debbugs@localhost> (single-drop); Sun, 06 Mar 2022 07:49:41 +0000 (UTC)
Received: from mx.hindley.org.uk (193-36-131-86.cfwn.uk [193.36.131.86])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by mail.dyne.org (Postfix) with ESMTPS id 60EE2661344
	for <667@bugs.devuan.org>; Sun,  6 Mar 2022 08:49:36 +0100 (CET)
Received: from apollo.hindleynet ([192.168.1.3] helo=hindley.org.uk)
	by mx.hindley.org.uk with smtp (Exim 4.84_2)
	(envelope-from <mark@hindley.org.uk>)
	id 1nQle3-0007Lu-3o; Sun, 06 Mar 2022 07:49:35 +0000
Received: (nullmailer pid 32295 invoked by uid 1000);
	Sun, 06 Mar 2022 07:49:34 -0000
Date: Sun, 6 Mar 2022 07:49:34 +0000
From: Mark Hindley <mark@hindley.org.uk>
To: Dave <rsync-bug-2c04@wsfd.ath.cx>, 667@bugs.devuan.org
Message-ID: <YiRnjo5edf+TPbHY@hindley.org.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <1646434552.553901.25226.nullmailer@defau-lt43.homenet>
X-Spam-Status: No, score=0.4 required=5.0 tests=RCVD_IN_DNSWL_BLOCKED,
	RDNS_DYNAMIC,SPF_PASS autolearn=disabled version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail.dyne.org
Dave,

On Fri, Mar 04, 2022 at 05:55:52PM -0500, Dave wrote:
> Package: rsync
> Version: 3.1.3-6
> Severity: normal
> 
> Dear Maintainer,
> 
>    * What led up to the situation?
> Normal rsync local system directory copying/archiving using the '--log-file' option
> 
>    * What exactly did you do (or not do) that was effective (or
>      ineffective)?

I doubt this is an rsync issue. Tilde expansion on the command line is handled
by your shell before executing the expanded command line. See sh(1).

> 1. Executing "rsync -a --verbose --log-file=~/xx/mylog ~/xxxx ~/xx"

If you are quoting the command, that will prevent tilde expansion.

Mark

Send a report that this bug log contains spam.


Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.

Devuan Bugs Owner <owner@bugs.devuan.org>.
Last modified: Sun Nov 24 15:36:12 2024;