From unknown Fri Sep 05 22:44:12 2025 X-Loop: help-debbugs@gnu.org Subject: bug#31353: ls unexpectedly quoting filenames Resent-From: billy noah Original-Sender: "Debbugs-submit" Resent-CC: bug-coreutils@gnu.org Resent-Date: Thu, 03 May 2018 02:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 31353 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: 31353@debbugs.gnu.org X-Debbugs-Original-To: bug-coreutils@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.152531582026180 (code B ref -1); Thu, 03 May 2018 02:51:02 +0000 Received: (at submit) by debbugs.gnu.org; 3 May 2018 02:50:20 +0000 Received: from localhost ([127.0.0.1]:47574 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fE4K3-0006oC-Sm for submit@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 ) id 1fE48M-0006XG-HB for submit@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 ) id 1fE48F-0001L2-Q8 for submit@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 ) id 1fE48F-0001Ky-MQ for submit@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 ) id 1fE48E-0002Gl-IW for bug-coreutils@gnu.org; Wed, 02 May 2018 22:38:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fE48D-0001K6-G2 for bug-coreutils@gnu.org; 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 ) id 1fE48D-0001Jh-Ao for bug-coreutils@gnu.org; Wed, 02 May 2018 22:38:05 -0400 Received: by mail-ua0-x22b.google.com with SMTP id e8so8623338uam.13 for ; 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 Date: Wed, 2 May 2018 22:38:03 -0400 Message-ID: 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-Mailman-Approved-At: Wed, 02 May 2018 22:50:18 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" 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
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: https://unix.stack= exchange.com/questions/258679/why-is-ls-suddenly-wrapping-items-with-spaces= -in-single-quotes

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.=

- Billy Noah
--f403045e6248bfd192056b4417f8-- From unknown Fri Sep 05 22:44:12 2025 X-Loop: help-debbugs@gnu.org Subject: bug#31353: ls unexpectedly quoting filenames Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-CC: bug-coreutils@gnu.org Resent-Date: Thu, 03 May 2018 06:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31353 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: billy noah , 31353@debbugs.gnu.org Received: via spool by 31353-submit@debbugs.gnu.org id=B31353.152532728211074 (code B ref 31353); Thu, 03 May 2018 06:02:02 +0000 Received: (at 31353) by debbugs.gnu.org; 3 May 2018 06:01:22 +0000 Received: from localhost ([127.0.0.1]:47606 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fE7Iv-0002sY-Uz for submit@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 ) id 1fE7Iu-0002sK-QP for 31353@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) References: From: Paul Eggert Organization: UCLA Computer Science Department Message-ID: 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: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" 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. From unknown Fri Sep 05 22:44:12 2025 X-Loop: help-debbugs@gnu.org Subject: bug#31353: ls unexpectedly quoting filenames Resent-From: Bernhard Voelker Original-Sender: "Debbugs-submit" Resent-CC: bug-coreutils@gnu.org Resent-Date: Thu, 03 May 2018 11:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31353 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: Paul Eggert , billy noah , 31353@debbugs.gnu.org Received: via spool by 31353-submit@debbugs.gnu.org id=B31353.152534858617743 (code B ref 31353); Thu, 03 May 2018 11:57:01 +0000 Received: (at 31353) by debbugs.gnu.org; 3 May 2018 11:56:26 +0000 Received: from localhost ([127.0.0.1]:47753 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fECqY-0004c7-KL for submit@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 ) id 1fECqX-0004bs-Jt for 31353@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 References: From: Bernhard Voelker Message-ID: <6da5e85e-a252-1602-619d-61d6952aad17@bernhard-voelker.de> 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: 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On 05/03/2018 08:01 AM, Paul Eggert wrote: > I like the new behavior. +1 From unknown Fri Sep 05 22:44:12 2025 X-Loop: help-debbugs@gnu.org Subject: bug#31353: ls unexpectedly quoting filenames Resent-From: billy noah Original-Sender: "Debbugs-submit" Resent-CC: bug-coreutils@gnu.org Resent-Date: Thu, 03 May 2018 15:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31353 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: Paul Eggert Cc: 31353@debbugs.gnu.org Received: via spool by 31353-submit@debbugs.gnu.org id=B31353.152536026910754 (code B ref 31353); Thu, 03 May 2018 15:12:02 +0000 Received: (at 31353) by debbugs.gnu.org; 3 May 2018 15:11:09 +0000 Received: from localhost ([127.0.0.1]:48361 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fEFsw-0002nL-5q for submit@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 ) id 1fECDg-0001iN-96 for 31353@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@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: References: From: billy noah Date: Thu, 3 May 2018 07:16:10 -0400 Message-ID: Content-Type: multipart/alternative; boundary="001a1140b492ab0473056b4b54f9" X-Spam-Score: 0.0 (/) X-Mailman-Approved-At: Thu, 03 May 2018 11:11:04 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" 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 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
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'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?

On Thu, May 3, 2018 at 2:01 AM, Paul Eggert &= lt;eggert@cs.ucla.e= du> 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 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 'ls' tha= t invokes /usr/bin/ls with the settings you prefer.=C2=A0 However, the defa= ult settings should be safe, not risky.

--001a1140b492ab0473056b4b54f9-- From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 29 23:18:40 2018 Received: (at control) by debbugs.gnu.org; 30 Oct 2018 03:18:40 +0000 Received: from localhost ([127.0.0.1]:52777 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gHKYC-000505-BO for submit@debbugs.gnu.org; Mon, 29 Oct 2018 23:18:40 -0400 Received: from mail-pl1-f172.google.com ([209.85.214.172]:43644) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gHKYA-0004zs-Ej for control@debbugs.gnu.org; Mon, 29 Oct 2018 23:18:38 -0400 Received: by mail-pl1-f172.google.com with SMTP id g59-v6so774077plb.10 for ; Mon, 29 Oct 2018 20:18:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:message-id:date:user-agent:mime-version:content-language :content-transfer-encoding; bh=hcv3+T6erNAzGLBwCOBChCUw2pwnAjfnOGa8xHdlLhM=; b=m0/5WRpWRS/qNL1lDlN3QDCu5AZb3ffrFJfekrxm1Xwc8l85uOHSCdMPI/F+WLw5DA de7ZP9qap25qCrjFUes36ReKQbXtTvEhVlj1K0wnmNjInCteNDflD1dDdUwFTQ26KAkY NMQYrr2HfWH8B1uL0EuqMk8PuyN2Dhs3vuO3SLoGQu8FDqGx8ue+XLo3Ury41uZ5089j 12LbYu4zjXNsS8/0ZgTPtjZxN3IJqakPUtz++L0FeqTnARfGWCTnWYJFcgO6eBPzTM/i 18EhFTFCBDyjFL/e2m1t/a/bMCgPMz+e0UJSeRJZ5oS/WX1tBfNRkpu2o7uKVVHNZvtu MvyQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:message-id:date:user-agent:mime-version :content-language:content-transfer-encoding; bh=hcv3+T6erNAzGLBwCOBChCUw2pwnAjfnOGa8xHdlLhM=; b=oo3trDHQy6mKVZlcKwLtYDoI8fYU82iBNnC3WA4fxiAeZ5B6L16cF+pVInCrmzeo24 P3g6scn1U+Dc0hjww9PazbOLDCTVWoDMn14qPBgZEC0h0OeTNE3mV7Klb7xhgaQhxQzy LicPz1Sk7/Ad4nrptpeHkTp966VAm+hnvepWEToSpVYjtMeeYesCy2Yb0iFHD/4e/gmO AOh/MzthsyF1f/1vzb7ZWjznQyHvbU+asB47S279r3VqT6lIaIWjLc4kQTSckVuG9DAF QCsgVkkSM8+LZN5Efei9eStkbbDhh5iq+/fnAadHZ+62jwrH6btnuxFd/QY8+sYClib/ sbDw== X-Gm-Message-State: AGRZ1gLNZeCgYDmOIkjt8qDNnkTDLIgiXnh4dQ4s1aXVkHDeotAsiLh5 7p+dMan79M/+yyqegKCLNxfYPb2Ig1w= X-Google-Smtp-Source: AJdET5chJepRAPW9sUzibk1pw7YKdheaMlH1T7KBnera4Ex15t3vlE79vwfOFZcoW0qZqSoUp8/tQw== X-Received: by 2002:a17:902:4683:: with SMTP id p3-v6mr17196395pld.215.1540869512363; Mon, 29 Oct 2018 20:18:32 -0700 (PDT) Received: from tomato.housegordon.com (moose.housegordon.com. [184.68.105.38]) by smtp.googlemail.com with ESMTPSA id a1-v6sm29044814pfj.38.2018.10.29.20.18.30 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 Oct 2018 20:18:31 -0700 (PDT) To: control@debbugs.gnu.org From: Assaf Gordon Message-ID: <948ca217-03cd-c4eb-4c80-62f1e50de60c@gmail.com> Date: Mon, 29 Oct 2018 21:18:26 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: retitle 31353 ls-quotes: ls unexpectedly quoting filenames [...] Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [209.85.214.172 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (assafgordon[at]gmail.com) -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.214.172 listed in wl.mailspike.net] 1.8 MISSING_SUBJECT Missing Subject: header 0.2 NO_SUBJECT Extra score for no subject X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) retitle 31353 ls-quotes: ls unexpectedly quoting filenames From unknown Fri Sep 05 22:44:12 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: billy noah Subject: bug#31353: closed (Re: bug#31353: ls unexpectedly quoting filenames) Message-ID: References: X-Gnu-PR-Message: they-closed 31353 X-Gnu-PR-Package: coreutils Reply-To: 31353@debbugs.gnu.org Date: Thu, 13 Dec 2018 20:31:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1544733062-3103-1" This is a multi-part message in MIME format... ------------=_1544733062-3103-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #31353: ls-quotes: ls unexpectedly quoting filenames which was filed against the coreutils package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 31353@debbugs.gnu.org. --=20 31353: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D31353 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1544733062-3103-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 31353-done) by debbugs.gnu.org; 13 Dec 2018 20:30:13 +0000 Received: from localhost ([127.0.0.1]:46852 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gXXcb-0000mr-CR for submit@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 ) id 1gXXcZ-0000li-NX for 31353-done@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@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 , 31353-done@debbugs.gnu.org References: From: Assaf Gordon Message-ID: 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: 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@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" 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@gnu.org . regards, - assaf ------------=_1544733062-3103-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 3 May 2018 02:50:20 +0000 Received: from localhost ([127.0.0.1]:47574 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fE4K3-0006oC-Sm for submit@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 ) id 1fE48M-0006XG-HB for submit@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 ) id 1fE48F-0001L2-Q8 for submit@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 ) id 1fE48F-0001Ky-MQ for submit@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 ) id 1fE48E-0002Gl-IW for bug-coreutils@gnu.org; Wed, 02 May 2018 22:38:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fE48D-0001K6-G2 for bug-coreutils@gnu.org; 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 ) id 1fE48D-0001Jh-Ao for bug-coreutils@gnu.org; Wed, 02 May 2018 22:38:05 -0400 Received: by mail-ua0-x22b.google.com with SMTP id e8so8623338uam.13 for ; 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 Date: Wed, 2 May 2018 22:38:03 -0400 Message-ID: Subject: ls unexpectedly quoting filenames To: bug-coreutils@gnu.org 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@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" 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
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: https://unix.stack= exchange.com/questions/258679/why-is-ls-suddenly-wrapping-items-with-spaces= -in-single-quotes

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.=

- Billy Noah
--f403045e6248bfd192056b4417f8-- ------------=_1544733062-3103-1--