Package: tar
Version: 1.28-2.1
Severity: normal

Dear Maintainer,

I noticed tar showing an error with files which contain some backslashes.

Example:
user@pc:~$ touch '\\'
user@pc:~$ tar -cf test.tar '\\'

or
user@pc:~$ touch \\\\
user@pc:~$ tar -cf test.tar \\\\

Output:

tar: \\: Cannot stat: No such file or directory
tar: Exiting with failure status due to previous errors

But:
user@pc:~$ touch \\
user@pc:~$ tar -cf test.tar \\
works.

and:
user@pc:~$ touch '\'
user@pc:~$ tar -cf test.tar '\'
works

Best regards



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

Kernel: Linux 4.3.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages tar depends on:
ii  libacl1      2.2.52-2
ii  libc6        2.21-6
ii  libselinux1  2.4-3

tar recommends no packages.

Versions of packages tar suggests:
ii  bzip2        1.0.6-8
pn  ncompress    <none>
pn  tar-scripts  <none>
ii  xz-utils     5.1.1alpha+20120614-2.1

-- no debconf information

Reply via email to