[Bug 1088131] [NEW] ls --color doesn't recognize an arc archive as an archive

zapman 1088131 at bugs.launchpad.net
Sun Dec 9 07:02:29 UTC 2012


Public bug reported:

When listing the content of a directory with ls --color an arc archive
isn't recognized as an such and isn't displayed with the appropriate
colour. The following terminal output should give an idea:

ubuntu at ubuntu:~/test$ ls
sources.list
ubuntu at ubuntu:~/test$ tar cfZ sources.taz sources.list 
ubuntu at ubuntu:~/test$ arc a sources.arc sources.list 
Creating new archive: sources.arc
Adding file:   sources.list   analyzing, crunched, done. (29%)
ubuntu at ubuntu:~/test$ ls
sources.arc  sources.list  sources.taz

Note that sources.taz would be correctly displayed in red, but not
sources .arc which nevertheless is an archive and should also be
displayed with the same colour. So the $LS_COLORS environment variable
needs to be adjusted accordingly by default (the correct value to add
would probably be "01;31", and arc is absent from the output of
dircolors -p).

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: coreutils 8.13-3ubuntu3
ProcVersionSignature: Ubuntu 3.2.0-29.46-generic-pae 3.2.24
Uname: Linux 3.2.0-29-generic-pae i686
ApportVersion: 2.0.1-0ubuntu12
Architecture: i386
CasperVersion: 1.315
Date: Sun Dec  9 06:33:54 2012
LiveMediaBuild: Ubuntu 12.04.1 LTS "Precise Pangolin" - Release i386 (20120817.3)
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: coreutils
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: coreutils (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386 precise running-unity

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to coreutils in Ubuntu.
https://bugs.launchpad.net/bugs/1088131

Title:
  ls --color doesn't recognize an arc archive as an archive

Status in “coreutils” package in Ubuntu:
  New

Bug description:
  When listing the content of a directory with ls --color an arc archive
  isn't recognized as an such and isn't displayed with the appropriate
  colour. The following terminal output should give an idea:

  ubuntu at ubuntu:~/test$ ls
  sources.list
  ubuntu at ubuntu:~/test$ tar cfZ sources.taz sources.list 
  ubuntu at ubuntu:~/test$ arc a sources.arc sources.list 
  Creating new archive: sources.arc
  Adding file:   sources.list   analyzing, crunched, done. (29%)
  ubuntu at ubuntu:~/test$ ls
  sources.arc  sources.list  sources.taz

  Note that sources.taz would be correctly displayed in red, but not
  sources .arc which nevertheless is an archive and should also be
  displayed with the same colour. So the $LS_COLORS environment variable
  needs to be adjusted accordingly by default (the correct value to add
  would probably be "01;31", and arc is absent from the output of
  dircolors -p).

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: coreutils 8.13-3ubuntu3
  ProcVersionSignature: Ubuntu 3.2.0-29.46-generic-pae 3.2.24
  Uname: Linux 3.2.0-29-generic-pae i686
  ApportVersion: 2.0.1-0ubuntu12
  Architecture: i386
  CasperVersion: 1.315
  Date: Sun Dec  9 06:33:54 2012
  LiveMediaBuild: Ubuntu 12.04.1 LTS "Precise Pangolin" - Release i386 (20120817.3)
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: coreutils
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/coreutils/+bug/1088131/+subscriptions




More information about the foundations-bugs mailing list