Package: coreutils
Version: 8.28-1
Severity: minor

Hi!
dircolors make ls show broken symlinks the same way it shows compressed files,
which are the most widespread type of files we tend to have.

Technically, the string is 40;01;31 vs 01;31 but that has an effect only for
people whose background color is not black, which despite heretic defaults in
some desktop environments is still the most widespread color scheme.

There's no need for this clash as dircolors utilizes only a few combinations
even among basic 16 non-backgrounded colors:

00;33           [40]pipe
00;36           audio
01;31           [40]broken symlink, compressed
01;32           exec
01;33           [40]device node
01;34           directory
01;35           socket, door, image, video
01;36           symlink

backgrounded:
41;30           cap
41;37           setuid
42;30           dir +t,o+w
43;30           setgid
44;37           dir +t,o-w

Thus, what about eg 00;31 (red) for broken symlink?

While we're at it, what about disambiguating sockets as well?


Meow!
-- System Information:
Debian Release: buster/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (500, 'testing'), 
(150, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.15.0-rc7-debug-00137-g13f8e1b5cc83 (SMP w/6 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C.UTF-8 
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages coreutils depends on:
ii  libacl1      2.2.52-3+b1
ii  libattr1     1:2.4.47-2+b2
ii  libc6        2.26-3
ii  libselinux1  2.7-2

coreutils recommends no packages.

coreutils suggests no packages.

-- no debconf information

Reply via email to