bug-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-tar] \a \b \f and \t in filenames


From: Miek Gieben
Subject: Re: [Bug-tar] \a \b \f and \t in filenames
Date: Thu, 28 Jul 2005 09:33:05 +0200
User-agent: Vim/Mutt/Linux

[On 27 Jul, @23:45, Helmut Waitzmann wrote in "Re: [Bug-tar] \a \b \f and \t  
..."]
> Miek Gieben <address@hidden> writes:
> 
> >% find ~/tmp/silly_names -print > /tmp/filelist
> >
> >make a tar of it:
> > tar --create --file /tmp/test.tar --files-from /tmp/filelist --verbose
> 
> Will the errors occur, if you use GNU find with predicate '-print0'
> rather than '-print' and tar's option '--null'?  Try the following
> commands:
> 
> $ find ~/tmp/silly_names -print0 > /tmp/filelist
> $ tar --create --file /tmp/test.tar --null \

ahh, didn't know about that --null option.

>  --files-from /tmp/filelist --verbose
> 
> If the errors persist, then that's a bug indeed.

alas:

% find ~/tmp/silly_names -print0 > /tmp/filelist

% cat filelist
/home/miekg/tmp/silly_names/home/miekg/tmp/silly_names/the
\a/home/miekg/tmp/silly_names/the \b/home/miekg/tmp/silly_names/een
\e/home/miekg/tmp/silly_names/the \c/home/miekg/tmp/silly_names/een
\d/home/miekg/tmp/silly_names/the \f/home/miekg/tmp/silly_names/een
\g/home/miekg/tmp/silly_names/the \h/

% tar --create --file /tmp/test.tar --null --files-from /tmp/filelist --verbose
tar: Removing leading `/' from member names
/home/miekg/tmp/silly_names/
/home/miekg/tmp/silly_names/the \\a
/home/miekg/tmp/silly_names/the \\b
/home/miekg/tmp/silly_names/the \\e
/home/miekg/tmp/silly_names/the \\c
/home/miekg/tmp/silly_names/the \\d
/home/miekg/tmp/silly_names/the \\f
/home/miekg/tmp/silly_names/the \\g
/home/miekg/tmp/silly_names/the \\h
/home/miekg/tmp/silly_names/the \\s
/home/miekg/tmp/silly_names/the \\t
tar: /home/miekg/tmp/silly_names/the \a: Cannot stat: No such file or directory
tar: /home/miekg/tmp/silly_names/the \b: Cannot stat: No such file or directory
/home/miekg/tmp/silly_names/the \\e
/home/miekg/tmp/silly_names/the \\c
/home/miekg/tmp/silly_names/the \\d
tar: /home/miekg/tmp/silly_names/the \f: Cannot stat: No such file or directory
/home/miekg/tmp/silly_names/the \\g
/home/miekg/tmp/silly_names/the \\h
/home/miekg/tmp/silly_names/the \\s
tar: /home/miekg/tmp/silly_names/the \t: Cannot stat: No such file or directory
tar: Error exit delayed from previous errors

So it looks like a real bug to me.

Is mailing to bug-tar the official way to report a bug? Or is there a bugzilla
or something anywhere?

Thanks,

--
grtz,
  - Miek

http://www.miek.nl                      http://www.nlnetlabs.nl
PGP Key ID: 0xB18453A1
fingerprint: 002B B079 0DDA 7D44 2B5C  CAB0 C3B7 F943 B184 53A1

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]