From unknown Sat Jun 14 03:47:51 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#12083 <12083@debbugs.gnu.org> To: bug#12083 <12083@debbugs.gnu.org> Subject: Status: bug in groups command -- doesn't quote usage of group-separator in groupnames Reply-To: bug#12083 <12083@debbugs.gnu.org> Date: Sat, 14 Jun 2025 10:47:51 +0000 retitle 12083 bug in groups command -- doesn't quote usage of group-separat= or in groupnames reassign 12083 coreutils submitter 12083 Linda Walsh severity 12083 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 29 16:31:47 2012 Received: (at submit) by debbugs.gnu.org; 29 Jul 2012 20:31:47 +0000 Received: from localhost ([127.0.0.1]:49257 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Sva9S-0004Z3-Ve for submit@debbugs.gnu.org; Sun, 29 Jul 2012 16:31:47 -0400 Received: from eggs.gnu.org ([208.118.235.92]:49382) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Sva9R-0004Yx-Gk for submit@debbugs.gnu.org; Sun, 29 Jul 2012 16:31:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sva2V-0005AQ-9g for submit@debbugs.gnu.org; Sun, 29 Jul 2012 16:24:36 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:34830) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sva2V-0005AM-6e for submit@debbugs.gnu.org; Sun, 29 Jul 2012 16:24:35 -0400 Received: from eggs.gnu.org ([208.118.235.92]:40331) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sva2U-0005dC-B5 for bug-coreutils@gnu.org; Sun, 29 Jul 2012 16:24:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sva2T-0005AA-Ba for bug-coreutils@gnu.org; Sun, 29 Jul 2012 16:24:34 -0400 Received: from ishtar.tlinx.org ([173.164.175.65]:59040 helo=Ishtar.sc.tlinx.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sva2S-00059s-VY for bug-coreutils@gnu.org; Sun, 29 Jul 2012 16:24:33 -0400 Received: from [192.168.3.12] (Athenae [192.168.3.12]) by Ishtar.sc.tlinx.org (8.14.5/8.14.4/SuSE Linux 0.8) with ESMTP id q6TKOSC9014735 for ; Sun, 29 Jul 2012 13:24:30 -0700 Message-ID: <50159BFC.5080309@tlinx.org> Date: Sun, 29 Jul 2012 13:24:28 -0700 From: Linda Walsh User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.24) Gecko/20100228 Lightning/0.9 Thunderbird/2.0.0.24 Mnenhy/0.7.6.666 MIME-Version: 1.0 To: bug-coreutils@gnu.org Subject: bug in groups command -- doesn't quote usage of group-separator in groupnames Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) the 'groups' only prints out a bunch of words, but it doesn't tell me which of those are groups and which of those are not groups. It uses unquoted , space separated group name -- which has been known to be problematic for years (cf. find's -print0, or xargs -0, et al.). If this was only a default, and it could optionally print them 1/line or a backslash before non-separator spaces in groupnames, or even with a null like find, it might be workable, but the default, as it is 100% likely to not print out Windows groupnames that it might be serving. Even if it could use a TAB separator, that would still count as white space, but be 99% less likely (maybe 100%) to conflict with existing group names. Fixable? As it doesn't follow standards now, if one uses a space as a group separator, as what is listed, is incorrect (i.e. interpreting the list as a space separated group list will result in faulty results). Thanks, :-) From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 29 19:46:22 2012 Received: (at 12083) by debbugs.gnu.org; 29 Jul 2012 23:46:22 +0000 Received: from localhost ([127.0.0.1]:49516 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SvdBm-0003F8-1T for submit@debbugs.gnu.org; Sun, 29 Jul 2012 19:46:22 -0400 Received: from mx1.redhat.com ([209.132.183.28]:7226) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SvdBi-0003Eu-Pq for 12083@debbugs.gnu.org; Sun, 29 Jul 2012 19:46:21 -0400 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q6TNd7r7024964 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 29 Jul 2012 19:39:07 -0400 Received: from [10.36.116.21] (ovpn-116-21.ams2.redhat.com [10.36.116.21]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q6TNd3HQ002333 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 29 Jul 2012 19:39:06 -0400 Message-ID: <5015C996.7030802@draigBrady.com> Date: Mon, 30 Jul 2012 00:39:02 +0100 From: =?ISO-8859-1?Q?P=E1draig_Brady?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:6.0) Gecko/20110816 Thunderbird/6.0 MIME-Version: 1.0 To: Linda Walsh Subject: Re: bug#12083: bug in groups command -- doesn't quote usage of group-separator in groupnames References: <50159BFC.5080309@tlinx.org> In-Reply-To: <50159BFC.5080309@tlinx.org> X-Enigmail-Version: 1.3.2 Content-Type: text/plain; charset=ISO-8859-1 X-Scanned-By: MIMEDefang 2.67 on 10.5.11.12 Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by mx1.redhat.com id q6TNd7r7024964 X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: 12083 Cc: 12083@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) forcemerge 12083 9987 stop On 07/29/2012 09:24 PM, Linda Walsh wrote: > the 'groups' only prints out a bunch of words, but it doesn't tell me w= hich > of those are groups and which of those are not groups. >=20 > It uses unquoted , space separated group name -- which has been known t= o be > problematic for years (cf. find's -print0, or xargs -0, et al.). >=20 > If this was only a default, and it could optionally print them 1/line o= r > a backslash before non-separator spaces in groupnames, or even with a > null like find, it might be workable, but the default, as it is 100% li= kely > to not print out Windows groupnames that it might be serving. >=20 > Even if it could use a TAB separator, that would still count as white s= pace, > but be 99% less likely (maybe 100%) to conflict with existing group nam= es. >=20 > Fixable? As it doesn't follow standards now, if one uses a space as a > group separator, as what is listed, is incorrect (i.e. interpreting the= list > as a space separated group list will result in faulty results). It's already on the TODO list. cheers, P=E1draig. From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 30 06:18:32 2012 Received: (at control) by debbugs.gnu.org; 30 Jul 2012 10:18:32 +0000 Received: from localhost ([127.0.0.1]:50119 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Svn3W-0002Dv-Tk for submit@debbugs.gnu.org; Mon, 30 Jul 2012 06:18:32 -0400 Received: from mx1.redhat.com ([209.132.183.28]:56545) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Svn3V-0002Dm-1P for control@debbugs.gnu.org; Mon, 30 Jul 2012 06:18:29 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q6UABFUC003827 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 30 Jul 2012 06:11:15 -0400 Received: from [10.36.116.72] (ovpn-116-72.ams2.redhat.com [10.36.116.72]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q6UABCDQ026789 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Mon, 30 Jul 2012 06:11:14 -0400 Message-ID: <50165DC0.9030109@draigBrady.com> Date: Mon, 30 Jul 2012 11:11:12 +0100 From: =?UTF-8?B?UMOhZHJhaWcgQnJhZHk=?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:6.0) Gecko/20110816 Thunderbird/6.0 MIME-Version: 1.0 To: control@debbugs.gnu.org Subject: bug#12083: bug in groups command -- doesn't quote usage of group-separator in groupnames X-Enigmail-Version: 1.3.2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) forcemerge 12083 9987 stop From unknown Sat Jun 14 03:47:51 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 20 Oct 2013 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator