From owner-freebsd-bugs Thu Feb 14 12:40:13 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 661C037B405 for ; Thu, 14 Feb 2002 12:40:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g1EKe1w97908; Thu, 14 Feb 2002 12:40:01 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 71C2737B478 for ; Thu, 14 Feb 2002 12:38:18 -0800 (PST) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g1EKcIJ97541; Thu, 14 Feb 2002 12:38:18 -0800 (PST) (envelope-from nobody) Message-Id: <200202142038.g1EKcIJ97541@freefall.freebsd.org> Date: Thu, 14 Feb 2002 12:38:18 -0800 (PST) From: Kevin Dorne To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: gnu/34939: tar quits silently creating archive containing a file with a backslash in the name Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 34939 >Category: gnu >Synopsis: tar quits silently creating archive containing a file with a backslash in the name >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Feb 14 12:40:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Kevin Dorne >Release: 4.5-STABLE >Organization: Tentacle.net >Environment: FreeBSD chaos.tentacle.net 4.5-STABLE FreeBSD 4.5-STABLE #0: Wed Feb 6 12:12:52 PST 2002 root@chaos.tentacle.net:/usr/local/obj/usr/local/src/sys/CHAOS i386 >Description: I first encountered this problem using tar with the -T option. If you create an archive including a file with a backslash, such as 'foo\' or 'f\oo', tar will silently stop creating the archive at that file, ignoring all following files. >How-To-Repeat: Create an archive with a file containing a backslash ('\'). Most apparent when using a file list (-T option): create a file 'contents': foo bar oof\ rab % tar -cv -T contents -f archive.tar foo bar >Fix: Workaround: rename files, removing backslashes >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message