From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 30 15:26:33 2021 Received: (at submit) by debbugs.gnu.org; 30 Nov 2021 20:26:33 +0000 Received: from localhost ([127.0.0.1]:42595 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ms9hx-0003c0-Ga for submit@debbugs.gnu.org; Tue, 30 Nov 2021 15:26:33 -0500 Received: from lists.gnu.org ([209.51.188.17]:50618) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ms9Gx-0002sV-6G for submit@debbugs.gnu.org; Tue, 30 Nov 2021 14:58:39 -0500 Received: from eggs.gnu.org ([209.51.188.92]:53068) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ms9Gw-0003Lc-Qz for bug-coreutils@gnu.org; Tue, 30 Nov 2021 14:58:38 -0500 Received: from [2607:f8b0:4864:20::22f] (port=44793 helo=mail-oi1-x22f.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ms9Gu-0001Qd-T3 for bug-coreutils@gnu.org; Tue, 30 Nov 2021 14:58:38 -0500 Received: by mail-oi1-x22f.google.com with SMTP id be32so43439308oib.11 for ; Tue, 30 Nov 2021 11:58:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:content-transfer-encoding:mime-version:subject:message-id:date :to; bh=4Q/PQRKcKeEiSay2uzGrnbbhVPJ99ZnyaAkreQUQVTA=; b=QWD1Jm+Ab/V+dvrpw/5i3FQOyDAz7+OtCI0WaQRiDnDG+i29s+3Ox4hieLApgpu3qF zsmi9rX36kq8Ndsqm42QZrCPYnuQ1TZmDtG009lzqmOtQYo6Z0rRo+HOw3UzsfZ0TT2j ocPBVGx/HZ3GVTMO8nWjSn0AJSOKlsvE9gtJ27UUNBKLwaDAFZLYYJKFm1RNo2G0wuah WbpeMFz3BDbN/owEo5dw7+Huz2OL6cTmW/W3ddh8B6vS0RX4c76FyBANR3Bf+OTe3c30 M61vd9QdhZbL1gm3CssSdgcxu+n0oOYL8gLtsEZ4rqj9q0ulYM1F20IYbwZQbwQiGC32 2UxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:message-id:date:to; bh=4Q/PQRKcKeEiSay2uzGrnbbhVPJ99ZnyaAkreQUQVTA=; b=FSIJ/vwqOJR2oicRWMrSrxzrldKWADndHFsioPi7VQglSqQO+C6RQHP64ngfOgAdZs znp+gG/d2LUAQvYcm2yxPyJ9Y9UsKJg1xT2l0Llb82isUaN/GpCfpEDzOGnBaK4cUuuY VB9+NvXMxsmZKHqGSQtueqqtKe8Fg3qB+mqE7kkgd/oIeoe2V/AW6N2jrFnJYTTNFHDH dzgReCWAEeS/tiT441+peKbM3f1i2bgrRQXOl/GVMtCuyvcVw2kQJ4pd7ORcy3r1Vk7R Ti2oE7XKaSNin7o/y0SpwFQOZgFwg4yTMNyQ11iiNG/4MgNbiSJOpwoiW1/4M6NI0xPM vMSQ== X-Gm-Message-State: AOAM530af6+E5hV6d5Zda6EeyrLBNnguPFvgs75X/nvR4qSIiMDPfinO PQpmeNHNAJW+nUaqyZFfJr3VzhsebeI= X-Google-Smtp-Source: ABdhPJxIMEvXEkEGpCRYatyAu26qkxj0ZKTpQdq349MeyL/E+XaDe3glQkkUAzyjlD5VHgltn5c+wQ== X-Received: by 2002:aca:230b:: with SMTP id e11mr1174206oie.22.1638302314707; Tue, 30 Nov 2021 11:58:34 -0800 (PST) Received: from smtpclient.apple (ip68-12-30-170.ok.ok.cox.net. [68.12.30.170]) by smtp.gmail.com with ESMTPSA id l24sm2899487oou.20.2021.11.30.11.58.33 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 30 Nov 2021 11:58:33 -0800 (PST) From: Robert Swinford Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 15.0 \(3693.20.0.1.32\)) Subject: Bug: rm -rf /*/* Message-Id: <2536F51D-9E34-4BAE-A7A9-C8AD84F6C7B1@gmail.com> Date: Tue, 30 Nov 2021 13:58:32 -0600 To: bug-coreutils@gnu.org X-Mailer: Apple Mail (2.3693.20.0.1.32) X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::22f (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::22f; envelope-from=robert.swinford@gmail.com; helo=mail-oi1-x22f.google.com X-Spam_score_int: 6 X-Spam_score: 0.6 X-Spam_bar: / X-Spam_report: (0.6 / 5.0 requ) BAYES_20=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Tue, 30 Nov 2021 15:26:32 -0500 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: -2.3 (--) TWIMC: This seems like a bug: = https://twitter.com/nixcraft/status/1465599844299411458 I was able to replicate the behavior in a container with coreutils = version 8.30. Interestingly, however, rm -rf // only does the following: "root@test:~# rm -rf // rm: it is dangerous to operate recursively on '//' (same as '/') rm: use --no-preserve-root to override this failsafe" I believe illumos has already solved this problem in a POSIX compliant = fashion, see: https://www.youtube.com/watch?v=3Dl6XQUciI-Sc&t=3D4903s Appreciate your attention to this bug! -- ---------------------------------------------- ROBERT SWINFORD ---------------------------------------------- robert.swinford@gmail.com m: (405) 209-2339 ---------------------------------------------- From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 30 15:43:12 2021 Received: (at submit) by debbugs.gnu.org; 30 Nov 2021 20:43:12 +0000 Received: from localhost ([127.0.0.1]:42644 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ms9y4-00047D-KK for submit@debbugs.gnu.org; Tue, 30 Nov 2021 15:43:12 -0500 Received: from lists.gnu.org ([209.51.188.17]:60234) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ms9Qe-00038m-AX for submit@debbugs.gnu.org; Tue, 30 Nov 2021 15:08:40 -0500 Received: from eggs.gnu.org ([209.51.188.92]:55334) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ms9Qe-0001iT-6S for bug-coreutils@gnu.org; Tue, 30 Nov 2021 15:08:40 -0500 Received: from [2607:f8b0:4864:20::235] (port=43527 helo=mail-oi1-x235.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ms9Qc-0002bU-LM for bug-coreutils@gnu.org; Tue, 30 Nov 2021 15:08:39 -0500 Received: by mail-oi1-x235.google.com with SMTP id o4so43533254oia.10 for ; Tue, 30 Nov 2021 12:08:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:content-transfer-encoding:mime-version:subject:date:references :to:in-reply-to:message-id; bh=ExJpyR1uRHiQF1akxw+KNU2VfL1Z5XHgHvnER730q94=; b=NcpWKRskhUuZbe1XozupaoplAtbkHUFmKD5Vh0eFx+7K2r22sxkc6cZhhklSjtyoU5 qRdxOiE4tWUolYzhLvi4Ux7YTTc363L6xqQVlIijyK6FdQxjTzZLALrGgMrU2qpxh5Br nH094MO6gwpadhgG+UbXsukhpuVYJQfgwVWDtK3bGHe44lwLLELws9KwN8bDGWLQTUiG ug2j+OTk2oGGUZYhZvuCWWnEIjiop3hwn3BjhYw87QCq0D5mPOjIi1Cr+R7lVuscDLqX C7UEnw4b3xuIxu3PgzvuTbBQwo9DS0BZo4YtKwk+9sYmYbXfsBlZpEzpO6AZC0xoE+58 tf9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:date:references:to:in-reply-to:message-id; bh=ExJpyR1uRHiQF1akxw+KNU2VfL1Z5XHgHvnER730q94=; b=r4wsv6pPZO+Q7Pz79eKrZtC5+CYq3KttZXvC2ECOHN/mOIzWfLbnK7dZBb30BBJHrN 04sl34zcmdU3kgQz7K5oQtE3PxAZkQkOYh3ySVmp8TyLQHLS3tzy+BqYzmR7HHd8o7KV rwb18ESKt+tAE7ZBwLShnGLRSXyCxukEWMbqw4gOf0rJJRdRJhf5Am2bdZ1CdYYFAaLX 1y69JqRC1ItVEVH2RS2olV9/oAW3MkF19oDvs9rY2xxwuKGt955OVHDW/dbFRNufUGAS GxRvExSKzFd8pNdcvqP7j7Keq3nrq9bWXR5EnzldUTpX+p5sKu+FbzyjW+x5CF0GzFSK QVYQ== X-Gm-Message-State: AOAM531wiPQQVe/izr16VuK34w/db8zQ52yn8H2H0HMGnENSaWqowmsC WPjCE2C/opsd+NuCJWRVtZ4B/2scA7A= X-Google-Smtp-Source: ABdhPJy38o9VOb82rG5uK4/EXW/+wVhOorJV2bURnG+y9tPO4BcpI6FdNhx5EJO/A11JeOn2iKrPiA== X-Received: by 2002:a05:6808:22a6:: with SMTP id bo38mr1236669oib.78.1638302917135; Tue, 30 Nov 2021 12:08:37 -0800 (PST) Received: from smtpclient.apple (ip68-12-30-170.ok.ok.cox.net. [68.12.30.170]) by smtp.gmail.com with ESMTPSA id m12sm4163644oiw.23.2021.11.30.12.08.36 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 30 Nov 2021 12:08:36 -0800 (PST) From: Robert Swinford Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 15.0 \(3693.20.0.1.32\)) Subject: Re: Bug: rm -rf /*/* Date: Tue, 30 Nov 2021 14:08:35 -0600 References: <2536F51D-9E34-4BAE-A7A9-C8AD84F6C7B1@gmail.com> To: bug-coreutils@gnu.org In-Reply-To: <2536F51D-9E34-4BAE-A7A9-C8AD84F6C7B1@gmail.com> Message-Id: X-Mailer: Apple Mail (2.3693.20.0.1.32) X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::235 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::235; envelope-from=robert.swinford@gmail.com; helo=mail-oi1-x235.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Tue, 30 Nov 2021 15:43:11 -0500 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: -2.3 (--) BTW, zsh globbing doesn=E2=80=99t exhibit this behavior! It seems it is = only a problem in bash. -- ---------------------------------------------- ROBERT SWINFORD ---------------------------------------------- robert.swinford@gmail.com m: (405) 209-2339 ---------------------------------------------- > On Nov 30, 2021, at 1:58 PM, Robert Swinford = wrote: >=20 > TWIMC: >=20 > This seems like a bug: = https://twitter.com/nixcraft/status/1465599844299411458 >=20 > I was able to replicate the behavior in a container with coreutils = version 8.30. >=20 > Interestingly, however, rm -rf // only does the following: >=20 > "root@test:~# rm -rf // > rm: it is dangerous to operate recursively on '//' (same as '/') > rm: use --no-preserve-root to override this failsafe" >=20 > I believe illumos has already solved this problem in a POSIX compliant = fashion, see: https://www.youtube.com/watch?v=3Dl6XQUciI-Sc&t=3D4903s >=20 > Appreciate your attention to this bug! >=20 > -- > ---------------------------------------------- > ROBERT SWINFORD > ---------------------------------------------- > robert.swinford@gmail.com > m: (405) 209-2339 > ---------------------------------------------- >=20 From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 30 15:56:15 2021 Received: (at 52206) by debbugs.gnu.org; 30 Nov 2021 20:56:15 +0000 Received: from localhost ([127.0.0.1]:42684 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1msAAh-0006iB-DH for submit@debbugs.gnu.org; Tue, 30 Nov 2021 15:56:15 -0500 Received: from zimbra.cs.ucla.edu ([131.179.128.68]:35010) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1msAAf-0006hu-6O for 52206@debbugs.gnu.org; Tue, 30 Nov 2021 15:56:14 -0500 Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id A297D1600FF; Tue, 30 Nov 2021 12:56:06 -0800 (PST) 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 vTS3C2YnfTHE; Tue, 30 Nov 2021 12:56:05 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 57315160106; Tue, 30 Nov 2021 12:56:05 -0800 (PST) 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 nE75xOZFoH4g; Tue, 30 Nov 2021 12:56:05 -0800 (PST) Received: from [131.179.64.200] (Penguin.CS.UCLA.EDU [131.179.64.200]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 2A9CA1600FF; Tue, 30 Nov 2021 12:56:05 -0800 (PST) Message-ID: Date: Tue, 30 Nov 2021 12:56:04 -0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.0 Subject: Re: bug#52206: Bug: rm -rf /*/* Content-Language: en-US To: Robert Swinford References: <2536F51D-9E34-4BAE-A7A9-C8AD84F6C7B1@gmail.com> From: Paul Eggert Organization: UCLA Computer Science Department In-Reply-To: <2536F51D-9E34-4BAE-A7A9-C8AD84F6C7B1@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.4 (--) X-Debbugs-Envelope-To: 52206 Cc: 52206@debbugs.gnu.org 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.4 (---) On 11/30/21 11:58, Robert Swinford wrote: > This seems like a bug: https://twitter.com/nixcraft/status/146559984429= 9411458 I don't see a coreutils bug there: rm operated as specified. > Interestingly, however, rm -rf // only does the following: Yes, that's a special feature of GNU rm. > I believe illumos has already solved this problem in a POSIX compliant = fashion Not sure what you're talking about here. Could you be specific? Don't=20 have time to watch videos. > BTW, zsh globbing doesn=E2=80=99t exhibit this behavior! It seems it i= s only a problem in bash. In that case, the bug (whatever it is) wouldn't be a coreutils bug. From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 01 01:38:10 2021 Received: (at 52206) by debbugs.gnu.org; 1 Dec 2021 06:38:10 +0000 Received: from localhost ([127.0.0.1]:43049 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1msJFq-0005Im-DU for submit@debbugs.gnu.org; Wed, 01 Dec 2021 01:38:10 -0500 Received: from havoc.proulx.com ([96.88.95.61]:59270) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1msJFo-0005IY-JH for 52206@debbugs.gnu.org; Wed, 01 Dec 2021 01:38:08 -0500 Received: from joseki.proulx.com (localhost [127.0.0.1]) by havoc.proulx.com (Postfix) with ESMTP id CC06CAF; Tue, 30 Nov 2021 23:38:02 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proulx.com; s=dkim2048; t=1638340682; bh=bCeY8S+nOyInfBKeiFj7zDivF0vldmDDZGFIWIsCmqM=; h=Date:From:To:Subject:References:In-Reply-To:From; b=lGlftFJXBOcyNKm/2+GemnsbsLj8Xk4YkXeKvGhcTSK9ZBq3+/E9iA16id0SE+ncM pAj5GvRiz7W+c8sZCr28gES7/MpfZby/SPLg7CTtPeLIrC1yHGZZe1G5PdtIo66fvC 2/DiPHWbHToQuCh8Nnz4KMIdCcBcRHyqP6YTKHZQXZgkj6gyZV9hrqLMwHDqOikrle ecfrlIWMvB6wVQ0StFZVt6QtfZlT0HeupSqNubEdCLxTIBsRir8JxcxobhoLB45hYR G7Bu48Du0YDNDqb7kDbDpONvLWYdYEJq9RSKRhDwucncNAUm15zhDHK6PS0zWuE64H gq31v6okZxg6w== Received: from hysteria.proulx.com (hysteria.proulx.com [192.168.230.119]) by joseki.proulx.com (Postfix) with ESMTP id 9B03F7A007; Tue, 30 Nov 2021 23:38:02 -0700 (MST) Received: by hysteria.proulx.com (Postfix, from userid 1000) id 8417D2DCA1; Tue, 30 Nov 2021 23:38:02 -0700 (MST) Date: Tue, 30 Nov 2021 23:38:02 -0700 From: Bob Proulx To: Robert Swinford , 52206@debbugs.gnu.org Subject: Re: bug#52206: Bug: rm -rf /*/* Message-ID: <20211130231447624379079@bob.proulx.com> References: <2536F51D-9E34-4BAE-A7A9-C8AD84F6C7B1@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 52206 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 (-) Paul Eggert wrote: > Robert Swinford wrote: > > This seems like a bug: https://twitter.com/nixcraft/status/1465599844299411458 > > I don't see a coreutils bug there: rm operated as specified. Agreed. It's not an rm bug. It's definitely unfortunate. It's similarly unfortunate to riding a bicycle into a lake. But it isn't a defect in the bicycle that it could not prevent someone from riding it into a lake. > > Interestingly, however, rm -rf // only does the following: > > Yes, that's a special feature of GNU rm. And apparently Bryan Cantrill reports that Solaris has the same feature as GNU rm does for "rm -rf /" protection. > > I believe illumos has already solved this problem in a POSIX compliant fashion > > Not sure what you're talking about here. Could you be specific? Don't have > time to watch videos. I watched the cited video. It features an interview with Bryan Cantrill who very dynamically and entertainingly tells a story about a scripted "rm -rf $1/$2" without checking if $1 and $2 were set or unset resulting in "rm -rf /" being run by accident. And therefore he reports that Solaris implemented the prevention of running "rm -rf /". This is said at time 1:27:00 in the video. Which I note is the same protection as GNU rm does. So there isn't anything for GNU rm to implement in order to match Solaris as it appears to be the same by this report. However $var1/$var2 expanding to / when those variables are not set is a different case than /*/* expansion which has no variables and is simply an error of usage. > > BTW, zsh globbing doesn’t exhibit this behavior! It seems it is only a problem in bash. > > In that case, the bug (whatever it is) wouldn't be a coreutils bug. I don't understand the comment that zsh doesn't expand the glob /*/* and I tried it and verified that it does indeed expand that glob sequence. Bob From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 01 01:49:10 2021 Received: (at 52206) by debbugs.gnu.org; 1 Dec 2021 06:49:10 +0000 Received: from localhost ([127.0.0.1]:43083 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1msJQU-0005dY-AG for submit@debbugs.gnu.org; Wed, 01 Dec 2021 01:49:10 -0500 Received: from havoc.proulx.com ([96.88.95.61]:59524) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1msJQS-0005dL-JV for 52206@debbugs.gnu.org; Wed, 01 Dec 2021 01:49:09 -0500 Received: from joseki.proulx.com (localhost [127.0.0.1]) by havoc.proulx.com (Postfix) with ESMTP id E55D6134; Tue, 30 Nov 2021 23:49:02 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proulx.com; s=dkim2048; t=1638341343; bh=JWl5ldwyD8rnihRV+qVCbSYHRItohhpdQlbXVTm9YH4=; h=Date:From:To:Subject:References:In-Reply-To:From; b=RRyP8JFXqjFmpcWXCBeiIPeKd19MC4Gq7LHSxwGvKCTtCSMBjBb4+zvWX4x308OTb fUKzREMi79SIVU91pa3AcScyEU2BNw4TBrGrWu1AVEx+xeh2fCP/f3qSq5ahJbEh7v 4sCAVVPVtYaJ6+2P3BTAT21izFFrVkOxVDo8j5Y1SUKHKdfLGs2RkiVI1LNHq9tT32 vO3NdbeBRQYat88kUkvEC+xKWh6Mx2yzmyHvYXvY+cZvQq57mjg0R7CtVrH5rcDytq 2kXrXr7GWKsFnQwT5xkwONkUUfLXchCl7CTD5ReOX3PJZ0l+TPex9j+uUFKYa3PCRb W5IZl1lLu13TA== Received: from hysteria.proulx.com (hysteria.proulx.com [192.168.230.119]) by joseki.proulx.com (Postfix) with ESMTP id BED187A007; Tue, 30 Nov 2021 23:49:02 -0700 (MST) Received: by hysteria.proulx.com (Postfix, from userid 1000) id AD1422DCA1; Tue, 30 Nov 2021 23:49:02 -0700 (MST) Date: Tue, 30 Nov 2021 23:49:02 -0700 From: Bob Proulx To: Robert Swinford , 52206@debbugs.gnu.org Subject: Re: bug#52206: Bug: rm -rf /*/* Message-ID: <20211130234512910101341@bob.proulx.com> References: <2536F51D-9E34-4BAE-A7A9-C8AD84F6C7B1@gmail.com> <20211130231447624379079@bob.proulx.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20211130231447624379079@bob.proulx.com> X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 52206 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 (-) Bob Proulx wrote: > Paul Eggert wrote: > > Robert Swinford wrote: > > > BTW, zsh globbing doesn’t exhibit this behavior! It seems it is only a problem in bash. > > > > In that case, the bug (whatever it is) wouldn't be a coreutils bug. > > I don't understand the comment that zsh doesn't expand the glob /*/* > and I tried it and verified that it does indeed expand that glob > sequence. Lawrence Velazquez made sense of this on the bug-bash list. https://lists.gnu.org/archive/html/bug-bash/2021-11/msg00193.html Bob From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 01 13:11:00 2021 Received: (at 52206-done) by debbugs.gnu.org; 1 Dec 2021 18:11:00 +0000 Received: from localhost ([127.0.0.1]:45565 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1msU4K-00050d-BX for submit@debbugs.gnu.org; Wed, 01 Dec 2021 13:11:00 -0500 Received: from zimbra.cs.ucla.edu ([131.179.128.68]:43218) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1msU4I-00050Q-J8 for 52206-done@debbugs.gnu.org; Wed, 01 Dec 2021 13:10:59 -0500 Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 970671600CE; Wed, 1 Dec 2021 10:10:52 -0800 (PST) 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 3MkhLHXcWpwV; Wed, 1 Dec 2021 10:10:52 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 00E901600DB; Wed, 1 Dec 2021 10:10:51 -0800 (PST) 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 bkD5sat5d0Kw; Wed, 1 Dec 2021 10:10:51 -0800 (PST) Received: from [192.168.1.9] (cpe-172-91-119-151.socal.res.rr.com [172.91.119.151]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id CD5D21600CE; Wed, 1 Dec 2021 10:10:51 -0800 (PST) Message-ID: <8dfcb62b-b5c8-4f2a-d44d-8c4f52ca3303@cs.ucla.edu> Date: Wed, 1 Dec 2021 10:10:51 -0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.1 Subject: Re: bug#52206: Bug: rm -rf /*/* Content-Language: en-US To: Bob Proulx References: <2536F51D-9E34-4BAE-A7A9-C8AD84F6C7B1@gmail.com> <20211130231447624379079@bob.proulx.com> <20211130234512910101341@bob.proulx.com> From: Paul Eggert Organization: UCLA Computer Science Department In-Reply-To: <20211130234512910101341@bob.proulx.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -2.4 (--) X-Debbugs-Envelope-To: 52206-done Cc: Robert Swinford , 52206-done@debbugs.gnu.org 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.4 (---) Thanks for explaining. As this is not an rm bug, I'm closing the bug report. From unknown Fri Aug 15 18:11:50 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 30 Dec 2021 12: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