GNU bug report logs - #31353
ls-quotes: ls unexpectedly quoting filenames

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: coreutils; Reported by: billy noah <billynoah@HIDDEN>; Done: Assaf Gordon <assafgordon@HIDDEN>; Maintainer for coreutils is bug-coreutils@HIDDEN.

Message received at 31353-done <at> debbugs.gnu.org:


Received: (at 31353-done) by debbugs.gnu.org; 13 Dec 2018 20:30:13 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Dec 13 15:30:13 2018
Received: from localhost ([127.0.0.1]:46852 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gXXcb-0000mr-CR
	for submit <at> debbugs.gnu.org; Thu, 13 Dec 2018 15:30:13 -0500
Received: from mail-pl1-f179.google.com ([209.85.214.179]:33374)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <assafgordon@HIDDEN>) id 1gXXcZ-0000li-NX
 for 31353-done <at> debbugs.gnu.org; Thu, 13 Dec 2018 15:30:12 -0500
Received: by mail-pl1-f179.google.com with SMTP id z23so1600087plo.0
 for <31353-done <at> debbugs.gnu.org>; Thu, 13 Dec 2018 12:30:11 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=subject:to:references:from:message-id:date:user-agent:mime-version
 :in-reply-to:content-language:content-transfer-encoding;
 bh=98RZK0+L6iliZjO+bwTbDep8zN32wC/PL46WcY6G0hw=;
 b=VqoHgRzTmYxQaeFaevooz8oImrIY2rIj5KDIyhIQJ7QgSY6wjIFFY6PpmT94nuj7fP
 cTEMFGMw/OTeP9HgrmxtC14LXZbYlhaUc2etro538NHsziCFL0VlLqlvZ6iGEshA6lta
 luC7cw1yG/vqC86zcQhAOwq3HfLcsmSqDNreM6j2Q5mH/UtpIdnIjgyha6H1HnpI6irh
 mUniajIpZwzSBfbKn6A2UOzG7rJhEkFETSrmNlGXY4iRdA17Bk+rcXK8/vJl/dTBmiqn
 QM1oNqY+kvMZymUO4mc5VTJNimofhVN7rga17zq6M7eA7cCWgCzeAA16XHyMu5J/NfE8
 SzRw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:subject:to:references:from:message-id:date
 :user-agent:mime-version:in-reply-to:content-language
 :content-transfer-encoding;
 bh=98RZK0+L6iliZjO+bwTbDep8zN32wC/PL46WcY6G0hw=;
 b=UaeipuIiYncwBVSW6PugnBAhh2BAO/Ru9xOJVQKM0eHcJUfPQZTeMirjEjcS6A6z3B
 7fB1BeVs6Od7igJnd+11wgaA02rL67rIq9OSlP3K+VX1pvU3XUmRckY2H68KopQqnSvB
 ybYlrS9A/gXTQPsyE+iNgczpSGwZ330pOrryYn2/xvti1dZ+h3zgEl8LpNDsBl9EkPTQ
 j69YL1vRiJDIR1qn+gT+LID8HbacfZn35uHLf3Y4lqcD/IWOLGkKVjk7RkH20JVzuVuw
 tG7ThIC7d8B6eS0UWZJ4dUviNBc/LCWCckbOdhQFLw6zdHQDjuhdv5q1xMtn4qrG3APl
 iFvw==
X-Gm-Message-State: AA+aEWYK0iwsYv4gnZ9alGNdbSA/DCxsHzt5IO27g+WzQHHFZxlXbw5T
 KNR7jAEAbQ+iGJ58TIToDfp6ZjcsQhA=
X-Google-Smtp-Source: AFSGD/UBe5KBfLiPLfG9WKFFlFxwJwEHOQC75k4I3G6t4CijIYwXKWh9E5yuGXB2GUzG6ZrxBdCSuw==
X-Received: by 2002:a17:902:346:: with SMTP id 64mr229422pld.337.1544733004931; 
 Thu, 13 Dec 2018 12:30:04 -0800 (PST)
Received: from tomato.housegordon.com (moose.housegordon.com. [184.68.105.38])
 by smtp.googlemail.com with ESMTPSA id
 186sm8672618pga.36.2018.12.13.12.30.03
 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Thu, 13 Dec 2018 12:30:03 -0800 (PST)
Subject: Re: bug#31353: ls unexpectedly quoting filenames
To: billy noah <billynoah@HIDDEN>, 31353-done <at> debbugs.gnu.org
References: <CADbGg-OgZHxp3jV6o7F19y72TFEo_xrzOvdroHLwgDEZk3gVuw@HIDDEN>
From: Assaf Gordon <assafgordon@HIDDEN>
Message-ID: <adc7e78d-70c9-d617-eafb-78beb78b4242@HIDDEN>
Date: Thu, 13 Dec 2018 13:30:02 -0700
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101
 Thunderbird/60.3.0
MIME-Version: 1.0
In-Reply-To: <CADbGg-OgZHxp3jV6o7F19y72TFEo_xrzOvdroHLwgDEZk3gVuw@HIDDEN>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 31353-done
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hello,

On 2018-05-02 8:38 p.m., billy noah wrote:
> In a clean installation of Ubuntu 18.04 suddenly ls has defaulted to
> quoting filenames with tilde ~, spaces and other characters which may
> require escaping.  Some extended discussion can be found here:
> https://unix.stackexchange.com/questions/258679/why-is-ls-suddenly-wrapping-items-with-spaces-in-single-quotes
> 

We created a summary of common issues and FAQs
regarding the quoting change in ls(1):
   https://www.gnu.org/software/coreutils/quotes.html

If there is an issue that is not addressed there,
please send an email to coreutils@HIDDEN .

regards,
  - assaf




Notification sent to billy noah <billynoah@HIDDEN>:
bug acknowledged by developer. Full text available.
Reply sent to Assaf Gordon <assafgordon@HIDDEN>:
You have taken responsibility. Full text available.
Changed bug title to 'ls-quotes: ls unexpectedly quoting filenames' from 'ls unexpectedly quoting filenames' Request was from Assaf Gordon <assafgordon@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 31353 <at> debbugs.gnu.org:


Received: (at 31353) by debbugs.gnu.org; 3 May 2018 15:11:09 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu May 03 11:11:09 2018
Received: from localhost ([127.0.0.1]:48361 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1fEFsw-0002nL-5q
	for submit <at> debbugs.gnu.org; Thu, 03 May 2018 11:11:06 -0400
Received: from mail-ua0-f178.google.com ([209.85.217.178]:40640)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <billynoah@HIDDEN>) id 1fECDg-0001iN-96
 for 31353 <at> debbugs.gnu.org; Thu, 03 May 2018 07:16:17 -0400
Received: by mail-ua0-f178.google.com with SMTP id g9so11507718uak.7
 for <31353 <at> debbugs.gnu.org>; Thu, 03 May 2018 04:16:16 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:in-reply-to:references:from:date:message-id:subject:to
 :cc; bh=hH4FULPIlxSlT/P0/yN/MsQIFK5OZV8qc4SycMwZgSs=;
 b=ZKULYYA5EdWeXByzOXxMqja2Dsb8LH+EqRPT1yIKT2u9oSkDRgqqCqM3V6GXtHg3c6
 v91/D7vVOj6mHN+g5xzRYzeHq4iMUVKgal5AFO3CF4hQ6iz96pVLekcMNAdFPAoBOdCA
 oQKQiCLn+yXOYZMuHI50bcK+nhTEmbLLl+3nL0hASCvfd+FqOln19UUz8GjvbRWXUZtL
 MFN+vl3gttRVnUsZHwMzagtnhVegJDPnQMUISyv1NtOk/GFU1b8ZHoHBJPifaP+/fOLs
 pOJTHFVor81seLUSevSiQmifYt5+0DuNLMpKYFLodX486/6nKcJKFdBd83XU3sGZTO0F
 /ZXw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:in-reply-to:references:from:date
 :message-id:subject:to:cc;
 bh=hH4FULPIlxSlT/P0/yN/MsQIFK5OZV8qc4SycMwZgSs=;
 b=dVhU2sxAUvVkg2anvI/iZBSnyl+UXbRs5sc9jQiJxvVajIK83ykn9d9AviW3TqRUMk
 YfAtlahUfatVZmI3S5Jrwm1bMbUg8mrJyqfZuJW0ohuVS3CF9O9REot6gmdL0+6Jo0YT
 8iBWEg41kY/hmcLGsR/A4Mni3JsLeQd8Sm6jr6r8MpcNhzUNs3SMBSndaXAjBen02cQ6
 BC7lf1r+QEs7ULDxAjx/hnKzEkOm5IyyuCG6fTIR59yv9z+WuSyP5MXF9fWyh2SG4R/r
 k86F18+g/tdHfe0Noyd+h5Gp5wMRbv/CQ6t61Hc201T9zZnw7gWz9iS5z3Tw77A4cnqV
 k3wA==
X-Gm-Message-State: ALQs6tB+glzXNX/ROifo9kR1+UF1k5Yr4Iy2MAqpTxgUi9xFvpvOsebn
 ypaq+AnkrynzGLr4JNdAMssih5qFtavXEI5c+HI=
X-Google-Smtp-Source: AB8JxZrjCPCqWAAovBR2A7v2Z4Y4ir/EVmoea/+xUzpwGNeB9QDwVXzKs8nTJUdbZWETwzYbwZ0oxFSualurNrzcIGc=
X-Received: by 10.159.55.8 with SMTP id z8mr16026150uad.117.1525346170764;
 Thu, 03 May 2018 04:16:10 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.103.90.212 with HTTP; Thu, 3 May 2018 04:16:10 -0700 (PDT)
In-Reply-To: <dc0913e5-5f02-2cec-8a91-440933a18b61@HIDDEN>
References: <CADbGg-OgZHxp3jV6o7F19y72TFEo_xrzOvdroHLwgDEZk3gVuw@HIDDEN>
 <dc0913e5-5f02-2cec-8a91-440933a18b61@HIDDEN>
From: billy noah <billynoah@HIDDEN>
Date: Thu, 3 May 2018 07:16:10 -0400
Message-ID: <CADbGg-OjoQut_16BHx0owSJ82EexKmj-31DLZJJQrSRWMCAQmg@HIDDEN>
Subject: Re: bug#31353: ls unexpectedly quoting filenames
To: Paul Eggert <eggert@HIDDEN>
Content-Type: multipart/alternative; boundary="001a1140b492ab0473056b4b54f9"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 31353
X-Mailman-Approved-At: Thu, 03 May 2018 11:11:04 -0400
Cc: 31353 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--001a1140b492ab0473056b4b54f9
Content-Type: text/plain; charset="UTF-8"

Ok I stand corrected about no one liking it.  But I just read upwards of
100 comments on that linked SO question and I don't recall a single person
speaking up in favor of the new behaviour.  While you may have a point
about security issues, the new default should probably be a user selectable
option, not the default.  Have you conducted any kind of poll to determine
what the vast majority of users prefer?  Can you please illustrate a
scenario where non-quoted filenames would be a security issue?

On Thu, May 3, 2018 at 2:01 AM, Paul Eggert <eggert@HIDDEN> wrote:

> billy noah wrote:
>
> No one seems to
>> like this new behaviour
>>
> I like the new behavior. The old behavior had security problems, since
> file names with unusual characters could confuse users into thinking that
> the file system was X when it really was Y.  The new behavior avoids these
> problems, and so is safer and more predictable.  You can resurrect the old
> behavior, if you like, by using a shell script called 'ls' that invokes
> /usr/bin/ls with the settings you prefer.  However, the default settings
> should be safe, not risky.
>

--001a1140b492ab0473056b4b54f9
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Ok I stand corrected about no one liking it.=C2=A0 But I j=
ust read upwards of 100 comments on that linked SO question and I don&#39;t=
 recall a single person speaking up in favor of the new behaviour.=C2=A0 Wh=
ile you may have a point about security issues, the new default should prob=
ably be a user selectable option, not the default.=C2=A0 Have you conducted=
 any kind of poll to determine what the vast majority of users prefer?=C2=
=A0 Can you please illustrate a scenario where non-quoted filenames would b=
e a security issue?<br></div><div class=3D"gmail_extra"><br><div class=3D"g=
mail_quote">On Thu, May 3, 2018 at 2:01 AM, Paul Eggert <span dir=3D"ltr">&=
lt;<a href=3D"mailto:eggert@HIDDEN" target=3D"_blank">eggert@HIDDEN=
du</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"marg=
in:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">billy noah wrote=
:<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
No one seems to<br>
like this new behaviour<br>
</blockquote>
I like the new behavior. The old behavior had security problems, since file=
 names with unusual characters could confuse users into thinking that the f=
ile system was X when it really was Y.=C2=A0 The new behavior avoids these =
problems, and so is safer and more predictable.=C2=A0 You can resurrect the=
 old behavior, if you like, by using a shell script called &#39;ls&#39; tha=
t invokes /usr/bin/ls with the settings you prefer.=C2=A0 However, the defa=
ult settings should be safe, not risky.<br>
</blockquote></div><br></div>

--001a1140b492ab0473056b4b54f9--




Information forwarded to bug-coreutils@HIDDEN:
bug#31353; Package coreutils. Full text available.

Message received at 31353 <at> debbugs.gnu.org:


Received: (at 31353) by debbugs.gnu.org; 3 May 2018 11:56:26 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu May 03 07:56:26 2018
Received: from localhost ([127.0.0.1]:47753 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1fECqY-0004c7-KL
	for submit <at> debbugs.gnu.org; Thu, 03 May 2018 07:56:26 -0400
Received: from mout.kundenserver.de ([212.227.126.134]:52409)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mail@HIDDEN>) id 1fECqX-0004bs-Jt
 for 31353 <at> debbugs.gnu.org; Thu, 03 May 2018 07:56:25 -0400
Received: from [10.0.2.15] ([62.153.148.194]) by mrelayeu.kundenserver.de
 (mreue007 [212.227.15.167]) with ESMTPSA (Nemesis) id
 0LhpBu-1eZs5F0Z8s-00nDI4; Thu, 03 May 2018 13:56:07 +0200
Subject: Re: bug#31353: ls unexpectedly quoting filenames
To: Paul Eggert <eggert@HIDDEN>, billy noah <billynoah@HIDDEN>,
 31353 <at> debbugs.gnu.org
References: <CADbGg-OgZHxp3jV6o7F19y72TFEo_xrzOvdroHLwgDEZk3gVuw@HIDDEN>
 <dc0913e5-5f02-2cec-8a91-440933a18b61@HIDDEN>
From: Bernhard Voelker <mail@HIDDEN>
Message-ID: <6da5e85e-a252-1602-619d-61d6952aad17@HIDDEN>
Date: Thu, 3 May 2018 13:56:00 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101
 Thunderbird/52.7.0
MIME-Version: 1.0
In-Reply-To: <dc0913e5-5f02-2cec-8a91-440933a18b61@HIDDEN>
Content-Type: text/plain; charset=utf-8
Content-Language: de-DE-1901
Content-Transfer-Encoding: 7bit
X-Provags-ID: V03:K1:mpWrUPegB5e0Rvqn147ifdTkRxsoNaYqBv6j2X5rWhTbK4eMrcA
 Vh3TjE2jQ6Dz1tUQhzvFA/DE7rL5R4z0ubRZ5v5Nu9irE+kspvGaLFy+0RvCaw291bNqMzg
 HJ0kt8Oqri6sj0ZLJz5PS8bpReZSy2bIHO16iekfApHITPpx9hdDp2ch5gtR+7w0tdMU1jX
 Wp47k7DfUxadmMP7EtKSQ==
X-UI-Out-Filterresults: notjunk:1;V01:K0:OGkbHrheRx4=:7XaLI0qUX4rsXId0t9EaB6
 LKr57C80Py9sLLayK5VrLo/xwPdV9UHmXmBa5fUfy59yjccZi0+p1zkL4X0AkiAz/A/7Ap5aC
 2SRZ71Hm4tGC+baEfeQswjLtM9gYJzr9OiJPNAajPxE/dQHMnPfLBpUg+1cbKmOBX2Ru7hywe
 B0bcBfhUFaI9sDxMvEfMEGSldKZ6ao1FmbIke4CpbRbsoL/upkMiYD3cKo/uU01Mtt+130jmd
 m5mWzduqRSnO4N+50mnnWrQDNUV0tlFFQNlTBl+YAMLeb7g/0bH2yUBAKtV9uXm9Sm/09NtLF
 6BUsQOvSsZBLMLmyOLmAgvv4sVSdsBmmE8ap111dxBKxoQfLSOYgYsfvAONylcnuqca/Udpl9
 Isr914PQteYgPASVEy2la2Xz+0VfCNrrHENXrJRFYp8l0wXCcMGIq8LwJZ2zgHaBnPCd58nXf
 U0iGWQF/JuG2acozpbLMNiCtHgno1blfR+Bp0JPuSBFtLd+9CSQNGNBndGqKPcQqWhIqpwzQi
 br6X8AWQcJGFb1+Tr/WrbzT/7nA75jhE6h13iLHDF5/aoKgqPQT4MfW+iboe4QXYdl1S2l454
 tjaOwMX2M1g9F3CndpqV2xKfUebcjLfETIfkGU0JuYzvacGQ8WBNVvhfgl90b5BceYbEJg+4g
 pqREAVQkA4JjREU2uqxPdnyG7lFQXvILa6s7MWNyW+g1MTJwFcniY8D1UJhvKajzP0kWiIbGY
 kKnCLseDnrVocCiN
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 31353
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

On 05/03/2018 08:01 AM, Paul Eggert wrote:
> I like the new behavior.

+1




Information forwarded to bug-coreutils@HIDDEN:
bug#31353; Package coreutils. Full text available.

Message received at 31353 <at> debbugs.gnu.org:


Received: (at 31353) by debbugs.gnu.org; 3 May 2018 06:01:22 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu May 03 02:01:22 2018
Received: from localhost ([127.0.0.1]:47606 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1fE7Iv-0002sY-Uz
	for submit <at> debbugs.gnu.org; Thu, 03 May 2018 02:01:22 -0400
Received: from zimbra.cs.ucla.edu ([131.179.128.68]:43176)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eggert@HIDDEN>) id 1fE7Iu-0002sK-QP
 for 31353 <at> debbugs.gnu.org; Thu, 03 May 2018 02:01:21 -0400
Received: from localhost (localhost [127.0.0.1])
 by zimbra.cs.ucla.edu (Postfix) with ESMTP id A57971600E5;
 Wed,  2 May 2018 23:01:14 -0700 (PDT)
Received: from zimbra.cs.ucla.edu ([127.0.0.1])
 by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032)
 with ESMTP id 4qyBTeMVJwoo; Wed,  2 May 2018 23:01:13 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1])
 by zimbra.cs.ucla.edu (Postfix) with ESMTP id A6CAC1600E9;
 Wed,  2 May 2018 23:01:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu
Received: from zimbra.cs.ucla.edu ([127.0.0.1])
 by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026)
 with ESMTP id vib9KHHqneNL; Wed,  2 May 2018 23:01:13 -0700 (PDT)
Received: from [192.168.1.9] (unknown [47.154.30.119])
 by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 64CC41600E5;
 Wed,  2 May 2018 23:01:13 -0700 (PDT)
Subject: Re: bug#31353: ls unexpectedly quoting filenames
To: billy noah <billynoah@HIDDEN>, 31353 <at> debbugs.gnu.org
References: <CADbGg-OgZHxp3jV6o7F19y72TFEo_xrzOvdroHLwgDEZk3gVuw@HIDDEN>
From: Paul Eggert <eggert@HIDDEN>
Organization: UCLA Computer Science Department
Message-ID: <dc0913e5-5f02-2cec-8a91-440933a18b61@HIDDEN>
Date: Wed, 2 May 2018 23:01:12 -0700
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101
 Thunderbird/52.7.0
MIME-Version: 1.0
In-Reply-To: <CADbGg-OgZHxp3jV6o7F19y72TFEo_xrzOvdroHLwgDEZk3gVuw@HIDDEN>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 31353
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

billy noah wrote:

> No one seems to
> like this new behaviour
I like the new behavior. The old behavior had security problems, since file 
names with unusual characters could confuse users into thinking that the file 
system was X when it really was Y.  The new behavior avoids these problems, and 
so is safer and more predictable.  You can resurrect the old behavior, if you 
like, by using a shell script called 'ls' that invokes /usr/bin/ls with the 
settings you prefer.  However, the default settings should be safe, not risky.




Information forwarded to bug-coreutils@HIDDEN:
bug#31353; Package coreutils. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 3 May 2018 02:50:20 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed May 02 22:50:20 2018
Received: from localhost ([127.0.0.1]:47574 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1fE4K3-0006oC-Sm
	for submit <at> debbugs.gnu.org; Wed, 02 May 2018 22:50:20 -0400
Received: from eggs.gnu.org ([208.118.235.92]:35073)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <billynoah@HIDDEN>) id 1fE48M-0006XG-HB
 for submit <at> debbugs.gnu.org; Wed, 02 May 2018 22:38:14 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <billynoah@HIDDEN>) id 1fE48F-0001L2-Q8
 for submit <at> debbugs.gnu.org; Wed, 02 May 2018 22:38:08 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM,
 HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:39769)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <billynoah@HIDDEN>) id 1fE48F-0001Ky-MQ
 for submit <at> debbugs.gnu.org; Wed, 02 May 2018 22:38:07 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:54273)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <billynoah@HIDDEN>) id 1fE48E-0002Gl-IW
 for bug-coreutils@HIDDEN; Wed, 02 May 2018 22:38:07 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <billynoah@HIDDEN>) id 1fE48D-0001K6-G2
 for bug-coreutils@HIDDEN; Wed, 02 May 2018 22:38:06 -0400
Received: from mail-ua0-x22b.google.com ([2607:f8b0:400c:c08::22b]:46293)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <billynoah@HIDDEN>) id 1fE48D-0001Jh-Ao
 for bug-coreutils@HIDDEN; Wed, 02 May 2018 22:38:05 -0400
Received: by mail-ua0-x22b.google.com with SMTP id e8so8623338uam.13
 for <bug-coreutils@HIDDEN>; Wed, 02 May 2018 19:38:04 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:from:date:message-id:subject:to;
 bh=rsfUSRkSiep3/XyQa7ExgkPxv4qHRh7Dfgv6P+IhJBI=;
 b=mYYHkU0/C5RXH48yp1Ig1bNjHf/SrOn7Uno93KZTFBllF4MbYR1NLA5Z2tANpiqd2A
 P0DRYov3BsZYihFluqzzFglKH4vwNl/DLvECSn1daYSsvOEqhXflbQM2rbKBcevdcYH/
 hWPRTkX+yIuhJN+HDyEMC4PLeMMveZH6xHZoJJodp7c7+zVL38JjkuYKeDzAL/mgrL0C
 uNDahge7drjBdSMCPtrk4GxJOsfwbcosNDAObj6Ehx3Gz9fh8LRasxLMIH1gM+0QJuIs
 qqD3HbBwzY54PSoHUHQKBoXAcG6uRHkrwDuwSe1OVDOcR0tAB+uMRa1qP+wqcf9k7yzb
 hmOA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
 bh=rsfUSRkSiep3/XyQa7ExgkPxv4qHRh7Dfgv6P+IhJBI=;
 b=NMTLQeJukFcn86JThWXbbPE5Z8W2PsxiUWhwliLUc/m7KnOsExz1ls2gJYBchtJrVw
 esCcrIloCouTxveHsWjg2Q+S+viYf7jdN/KBWykbYLjbrCHWQ3Us64N5TOt67awDnsHY
 j138tYeATRyktA7Cd4AHBp8YfcO0GubwFfb3KmpIqCKR8i+++7QKPgxBzQ8sOyrMsB08
 SIYpLrBJ6PRqrZfxiSgN1LcViT1PNwYuBjcSMGGgre170gvCvhwWHULyT56EYCZWxF+o
 95G1SejHUJ0GGZQCD1jNt1fws13+G0MAp2Pk0xqts5WZXMfk1cgYIqWcKTXJFSD2dCPk
 6BZg==
X-Gm-Message-State: ALQs6tB7/KzBgRz17fu2D1rA0hh4Ph2NhR/KwAaJ0klu9U4aQP5DmU03
 DTxCmFdyykUjZtBlvSY05qc7OEeRwtvD8mXy18N6rg==
X-Google-Smtp-Source: AB8JxZoHWBBPfPHjhhqFA0oGeZPpWDvrLTL9wolIVuOm04sNKHKDvSpgKjUFXDbqT55g2DvI0wYnwOPJSkpJqmYfnJI=
X-Received: by 10.176.71.7 with SMTP id h7mr20601836uac.11.1525315083946; Wed,
 02 May 2018 19:38:03 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.103.90.212 with HTTP; Wed, 2 May 2018 19:38:03 -0700 (PDT)
From: billy noah <billynoah@HIDDEN>
Date: Wed, 2 May 2018 22:38:03 -0400
Message-ID: <CADbGg-OgZHxp3jV6o7F19y72TFEo_xrzOvdroHLwgDEZk3gVuw@HIDDEN>
Subject: ls unexpectedly quoting filenames
To: bug-coreutils@HIDDEN
Content-Type: multipart/alternative; boundary="f403045e6248bfd192056b4417f8"
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
 recognized.
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.0 (----)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Wed, 02 May 2018 22:50:18 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

--f403045e6248bfd192056b4417f8
Content-Type: text/plain; charset="UTF-8"

In a clean installation of Ubuntu 18.04 suddenly ls has defaulted to
quoting filenames with tilde ~, spaces and other characters which may
require escaping.  Some extended discussion can be found here:
https://unix.stackexchange.com/questions/258679/why-is-ls-suddenly-wrapping-items-with-spaces-in-single-quotes

Please revert this to the decades old standard behaviour.  No one seems to
like this new behaviour and it has only led to mass confusion.  Having the
new quoted style as an option would be fine but it should not be the
default.  Please and thank you.

- Billy Noah

--f403045e6248bfd192056b4417f8
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div><div>In a clean installation of Ubuntu 18.04 suddenly=
 ls has defaulted to quoting filenames with tilde ~, spaces and other chara=
cters which may require escaping.=C2=A0 Some extended discussion can be fou=
nd here: <a href=3D"https://unix.stackexchange.com/questions/258679/why-is-=
ls-suddenly-wrapping-items-with-spaces-in-single-quotes">https://unix.stack=
exchange.com/questions/258679/why-is-ls-suddenly-wrapping-items-with-spaces=
-in-single-quotes</a><br><br></div>Please revert this to the decades old st=
andard behaviour.=C2=A0 No one seems to like this new behaviour and it has =
only led to mass confusion.=C2=A0 Having the new quoted style as an option =
would be fine but it should not be the default.=C2=A0 Please and thank you.=
<br><br></div>- Billy Noah<br></div>

--f403045e6248bfd192056b4417f8--




Acknowledgement sent to billy noah <billynoah@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-coreutils@HIDDEN. Full text available.
Report forwarded to bug-coreutils@HIDDEN:
bug#31353; Package coreutils. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Thu, 13 Dec 2018 20:45:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.