From owner-freebsd-bugs Fri Mar 1 6:40:11 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 1708237B41C for ; Fri, 1 Mar 2002 06:40:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g21Ee2d80577; Fri, 1 Mar 2002 06:40:02 -0800 (PST) (envelope-from gnats) Received: from mailout03.sul.t-online.com (mailout03.sul.t-online.com [194.25.134.81]) by hub.freebsd.org (Postfix) with ESMTP id B599737B417 for ; Fri, 1 Mar 2002 06:33:49 -0800 (PST) Received: from fwd08.sul.t-online.de by mailout03.sul.t-online.com with smtp id 16go6W-0007du-03; Fri, 01 Mar 2002 15:33:48 +0100 Received: from pc5.abc (520067998749-0001@[217.233.125.95]) by fmrl08.sul.t-online.com with esmtp id 16go6O-0AVyxUC; Fri, 1 Mar 2002 15:33:40 +0100 Received: (from nicolas@localhost) by pc5.abc (8.11.6/8.11.6) id g21EXdB10566; Fri, 1 Mar 2002 15:33:39 +0100 (CET) (envelope-from nicolas) Message-Id: <200203011433.g21EXdB10566@pc5.abc> Date: Fri, 1 Mar 2002 15:33:39 +0100 (CET) From: Nicolas Rachinsky Reply-To: Nicolas Rachinsky To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: bin/35454: mtree can't handle symlinks referencing files which names contain spaces 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: 35454 >Category: bin >Synopsis: mtree can't handle symlinks referencing files which names contain spaces >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Mar 01 06:40:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Nicolas Rachinsky >Release: FreeBSD 4.5-RELEASE i386 >Organization: >Environment: System: FreeBSD pc5.abc 4.5-RELEASE FreeBSD 4.5-RELEASE #2: Wed Feb 27 12:29:06 CET 2002 nicolas@pc5.abc:/usr/src/sys/compile/NR i386 >Description: mtree cannot handle symlinks pointing to files with spaces in their names >How-To-Repeat: Script started on Wed Feb 20 00:22:11 2002 nicolas@pc5 ~/tmp> touch a\ a nicolas@pc5 ~/tmp> ln -s a\ a t nicolas@pc5 ~/tmp> mtree -c >list nicolas@pc5 ~/tmp> mtree cat list # user: nicolas # machine: pc5.abc # tree: /data/home/nicolas/tmp # date: Wed Feb 20 00:22:37 2002 # . /set type=file uid=1003 gid=1001 mode=0644 nlink=1 flags=none . type=dir mode=0755 nlink=2 size=512 time=1014160957.0 a\040a size=0 time=1014160937.0 list size=0 time=1014160957.0 t type=link mode=0755 size=3 time=1014160945.0 link=a a typescript size=43 time=1014160947.0 .. nicolas@pc5 ~/tmp> ^D Script done on Wed Feb 20 00:22:50 2002 >Fix: escape the whitespace in the link= part (AFAIK that's not possible in the moment) >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message