Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 586246 - sys-apps/coreutils-8.25: ls output gets quoted
Summary: sys-apps/coreutils-8.25: ls output gets quoted
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL: https://bugs.debian.org/cgi-bin/bugre...
Whiteboard:
Keywords:
: 601140 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-06-18 02:30 UTC by Gordon Pettey
Modified: 2016-12-01 09:50 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gordon Pettey 2016-06-18 02:30:02 UTC
coreutils 8.2.5 changes ls behavior such that it no longer prints actual file names as expected. When I ls a directory, I don't want to see single quotes unless my files actually have single quotes in their names.

Fixes:

1. Include patch from Debian that reverts the changes (in URL) plus additional patch to correct output of "cannot access" errors (which also add quotes around name).

2. Add an env.d file that adds QUOTING_STYLE=literal to the default environment to preserve behavior. This fixes ls output, but does NOT fix quotes added to "cannot access" errors.
Comment 1 SpanKY gentoo-dev 2016-06-19 13:16:17 UTC
i see no reason for Gentoo to deviate from upstream

if you dislike the behavior, adjust your profile settings.  e.g. ~/.bashrc or /etc/profile.d/foo.sh.
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2016-11-28 22:21:40 UTC
*** Bug 601140 has been marked as a duplicate of this bug. ***
Comment 3 Adrian 2016-11-30 21:10:17 UTC
Apparently a not very well-known Linux distribution called Ubuntu also decided to revert this change in their coreutils packages: http://unix.stackexchange.com/a/262162/2505
Comment 4 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2016-11-30 21:14:27 UTC
(In reply to Adrian from comment #3)
> Apparently a not very well-known Linux distribution called Ubuntu also
> decided to revert this change in their coreutils packages:
> http://unix.stackexchange.com/a/262162/2505

We're neither Ubuntu nor do we follow every other trend out there (or else we had systemd as default init system). Also we are not diverging from upstream here. If you want to have the output of ls reverted to its old behavior please convince upstream, not us.