From unknown Sun Aug 10 09:45:40 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#9594 <9594@debbugs.gnu.org> To: bug#9594 <9594@debbugs.gnu.org> Subject: Status: doc: expand 27.3 Numeric modes (File permissions) Reply-To: bug#9594 <9594@debbugs.gnu.org> Date: Sun, 10 Aug 2025 16:45:40 +0000 retitle 9594 doc: expand 27.3 Numeric modes (File permissions) reassign 9594 coreutils submitter 9594 Filipus Klutiero severity 9594 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 24 17:34:07 2011 Received: (at submit) by debbugs.gnu.org; 24 Sep 2011 21:34:07 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R7ZrK-0003nM-KC for submit@debbugs.gnu.org; Sat, 24 Sep 2011 17:34:07 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R7ZrG-0003nB-J4 for submit@debbugs.gnu.org; Sat, 24 Sep 2011 17:34:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R7Zqh-0006QB-4N for submit@debbugs.gnu.org; Sat, 24 Sep 2011 17:33:28 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, T_DKIM_INVALID, T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([140.186.70.17]:53995) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R7Zqh-0006Q7-2k for submit@debbugs.gnu.org; Sat, 24 Sep 2011 17:33:27 -0400 Received: from eggs.gnu.org ([140.186.70.92]:53361) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R7Zqg-0003Pd-2u for bug-coreutils@gnu.org; Sat, 24 Sep 2011 17:33:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R7Zqe-0006Pr-OX for bug-coreutils@gnu.org; Sat, 24 Sep 2011 17:33:26 -0400 Received: from mail-qy0-f176.google.com ([209.85.216.176]:33345) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R7Zqe-0006Pl-JD for bug-coreutils@gnu.org; Sat, 24 Sep 2011 17:33:24 -0400 Received: by qyk27 with SMTP id 27so5357426qyk.0 for ; Sat, 24 Sep 2011 14:33:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=KHsnCDRO5CbfRNxnZ86yZtdNtg7+6KZ5KVHm8TRJ2Ik=; b=F6udIIcTcPoR6YQG3M/4ToL+EYhKa/SWJb7p9cijqmreblhHSkZCXBV49mQqbIrEXx LxGDkqvzsxHT/9gEuJGUEid/5OlKRZv/aJSsSNZeHdljlgrlQ6a6FnWjEqroy1/IAOM0 65olxT2F/cV67bYKyPrQq6EYCXYwrNMAIRPw0= Received: by 10.229.227.14 with SMTP id iy14mr3755655qcb.188.1316900003613; Sat, 24 Sep 2011 14:33:23 -0700 (PDT) Received: from [192.168.1.29] (modemcable156.191-56-74.mc.videotron.ca. [74.56.191.156]) by mx.google.com with ESMTPS id eb6sm16095463qab.26.2011.09.24.14.33.21 (version=SSLv3 cipher=OTHER); Sat, 24 Sep 2011 14:33:22 -0700 (PDT) Message-ID: <4E7E4C9F.5040402@gmail.com> Date: Sat, 24 Sep 2011 17:33:19 -0400 From: Filipus Klutiero User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.21) Gecko/20110831 Icedove/3.1.13 MIME-Version: 1.0 To: bug-coreutils@gnu.org Subject: 27.3 Numeric modes (File permissions): Special mode bits assume file is regular Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -5.9 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 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: -5.9 (-----) Section 27.3 Numeric modes contains: > Here is how the bits are arranged, starting with > the lowest valued bit: > > Value in Corresponding > Mode Mode Bit > > Other users not in the file's group: > 1 Execute/search > 2 Write > 4 Read > > Other users in the file's group: > 10 Execute/search > 20 Write > 40 Read > > The file's owner: > 100 Execute/search > 200 Write > 400 Read > > Special mode bits: > 1000 Restricted deletion flag or sticky bit > 2000 Set group ID on execution > 4000 Set user ID on execution These correspondences assume that the file is a regular file. For example, for a directory (where execution doesn't make sense), 2000 causes files created in the directory to inherit the directory's group. http://en.wikipedia.org/wiki/Setgid#setuid_and_setgid_on_directories has more information. From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 25 00:12:02 2011 Received: (at 9594) by debbugs.gnu.org; 25 Sep 2011 04:12:02 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R7g4P-0004Fa-S9 for submit@debbugs.gnu.org; Sun, 25 Sep 2011 00:12:02 -0400 Received: from smtp.cs.ucla.edu ([131.179.128.62]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R7g4M-0004FA-Fk for 9594@debbugs.gnu.org; Sun, 25 Sep 2011 00:12:00 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id BD33E39E80FA; Sat, 24 Sep 2011 21:11:21 -0700 (PDT) X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu Received: from smtp.cs.ucla.edu ([127.0.0.1]) by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 95+AkWIBoGXe; Sat, 24 Sep 2011 21:11:21 -0700 (PDT) Received: from [192.168.1.10] (pool-71-189-109-235.lsanca.fios.verizon.net [71.189.109.235]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id 1460D39E80CF; Sat, 24 Sep 2011 21:11:21 -0700 (PDT) Message-ID: <4E7EA9E8.9020300@cs.ucla.edu> Date: Sat, 24 Sep 2011 21:11:20 -0700 From: Paul Eggert Organization: UCLA Computer Science Department User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.21) Gecko/20110831 Thunderbird/3.1.13 MIME-Version: 1.0 To: Filipus Klutiero Subject: Re: bug#9594: 27.3 Numeric modes (File permissions): Special mode bits assume file is regular References: <4E7E4C9F.5040402@gmail.com> In-Reply-To: <4E7E4C9F.5040402@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Score: -2.9 (--) X-Debbugs-Envelope-To: 9594 Cc: 9594@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 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: -2.9 (--) On 09/24/11 14:33, Filipus Klutiero wrote: > These correspondences assume that the file is a regular file. Not really: for example, the phrase "execute/search" refers to execution (for regular files) and search (for directories), and "Restricted deletion flag or sticky bit" is talking about directories (for deletion) and regular files (for sticky bit). The phrase "Set group ID on execution" is not wrong, either, as it is saying that if you execute the file, then you set the group ID. This phrase is used with the same meaning in the table in http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/sys_stat.h.html In such a small table, one can't explain *everything*. Since the very next section talks about setuid and setgid on directories, the topic seems to be fairly well covered already. However, if you have a specific suggestion for improving the wording while staying within the tight bounds established by the table, then that would help. From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 25 09:58:01 2011 Received: (at 9594) by debbugs.gnu.org; 25 Sep 2011 13:58:02 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R7pDV-00032i-Az for submit@debbugs.gnu.org; Sun, 25 Sep 2011 09:58:01 -0400 Received: from mail-qy0-f172.google.com ([209.85.216.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R7pDR-00032Z-6w for 9594@debbugs.gnu.org; Sun, 25 Sep 2011 09:57:58 -0400 Received: by qyk32 with SMTP id 32so8026883qyk.3 for <9594@debbugs.gnu.org>; Sun, 25 Sep 2011 06:57:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=lQYgJ73ilLXEsm0Ctgtk7/D+3mH/iggL3Mo1DlMCkO0=; b=DnDiChQb4U/fsiRmCYZu2CJFoO0uVGynYVzDBEwqB8jH8MgyOLYoj1CVH9PJTBZR0Q RgatEJy21pNZgE0ERn7cXOimmKLoOKHMb+cX4SX2Gspg28ODRyV8DqPpRgs33q2tOMj0 fAr54JsPa7mWHZQNcjiOCuMSlXmOJ94NtjsAY= Received: by 10.224.186.84 with SMTP id cr20mr3957842qab.202.1316959038722; Sun, 25 Sep 2011 06:57:18 -0700 (PDT) Received: from [192.168.1.29] (modemcable156.191-56-74.mc.videotron.ca. [74.56.191.156]) by mx.google.com with ESMTPS id bw6sm10213081qab.16.2011.09.25.06.57.17 (version=SSLv3 cipher=OTHER); Sun, 25 Sep 2011 06:57:17 -0700 (PDT) Message-ID: <4E7F333B.5060105@gmail.com> Date: Sun, 25 Sep 2011 09:57:15 -0400 From: Filipus Klutiero User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.21) Gecko/20110831 Icedove/3.1.13 MIME-Version: 1.0 To: 9594@debbugs.gnu.org Subject: Re: bug#9594: 27.3 Numeric modes (File permissions): Special mode bits assume file is regular References: <4E7E4C9F.5040402@gmail.com> <4E7EA9E8.9020300@cs.ucla.edu> In-Reply-To: <4E7EA9E8.9020300@cs.ucla.edu> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: -4.8 (----) X-Debbugs-Envelope-To: 9594 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 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: -4.4 (----) Le 2011-09-25 00:11, Paul Eggert a écrit : > On 09/24/11 14:33, Filipus Klutiero wrote: > >> These correspondences assume that the file is a regular file. > Not really: for example, the phrase "execute/search" > refers to execution (for regular files) and search > (for directories), and "Restricted deletion flag or sticky bit" > is talking about directories (for deletion) and regular > files (for sticky bit). Sorry if the body didn't specify, but I was only referring to special mode bits. And indeed, one of them is OK. > The phrase "Set group ID on execution" is not wrong, either, > as it is saying that if you execute the file, then you set > the group ID. This phrase is used with the same meaning in > the table in > > http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/sys_stat.h.html It may not be wrong, but it's misleading. On a directory, S_ISGID does not mean to set the group ID on execution. The meaning is OS-dependent. > In such a small table, one can't explain *everything*. Since > the very next section talks about setuid and setgid on directories, > the topic seems to be fairly well covered already. Note that the manual is read by section, not sequentially. For example, I was reading 13.3 chmod and followed the link to 27.3. It may be better to have 2 tables, or a table of common meanings and 2 tables of specific meanings. I believe I would go for 2 tables. > However, if > you have a specific suggestion for improving the wording while > staying within the tight bounds established by the table, then > that would help. If kept in a single table, the wording should clarify that it only applies to regular files. It would be good to mention that the meaning on directories is OS-dependent, or to link to 27.4. From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 15 10:08:05 2018 Received: (at 9594) by debbugs.gnu.org; 15 Oct 2018 14:08:05 +0000 Received: from localhost ([127.0.0.1]:50845 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gC3XR-0006xq-2t for submit@debbugs.gnu.org; Mon, 15 Oct 2018 10:08:05 -0400 Received: from mail-pf1-f195.google.com ([209.85.210.195]:44804) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gC3XO-0006x4-BU; Mon, 15 Oct 2018 10:08:02 -0400 Received: by mail-pf1-f195.google.com with SMTP id r9-v6so9732317pff.11; Mon, 15 Oct 2018 07:08:02 -0700 (PDT) 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=66yY4fWqo1lxYedNYUkuzm90dnVKDwoyBr7UjE6GSPo=; b=rBbha3m57zrhMj4seLsUsAd7omu65bVbeYtdPliSa71GrRXNj4VE5Wev5EhYh0CHWw hkzmfE3YWIoR5W89qdMepzlYk5EEk3VhENxZMrXy7QbyEY2P6MHn2F5ixjvJfY/p/cXl sBLOsgmknRSKmGzVqERxvkizWHMLPPeCBx2AESb9ztPg6Kann2P3DQ2QCAYOpRoWMm3h NheKUr4eSz8KdNgjC5E9W7of0ocLrpqPK9EO25C6h+zkQQsOBF7q5if45m0ycrv+oWMF Gc6FJovprBYeDKHbKovdBLWWzYEL28U4GLHkyZltzwiGFJaqmg+6/C+eeN3+UKyWygmd h6hA== 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=66yY4fWqo1lxYedNYUkuzm90dnVKDwoyBr7UjE6GSPo=; b=ukfDW2pnQPxUKvNz53Unlk+WEVXLrs4QwpaZvpQC9PBeusRnNN16sHb0bk/tV71Nta dL1FG2KOcxMpIG20+11PUwshTKdAgJaI9zksZC3Fmz6zyye7Iwjorttejyig3sIgbDm5 6IHW/s/9v7sFI5tH/Nb8fMd45fkKc3yT3FwtGbh60pkoqZSrICgwI5akWnZmDDZo3qRF /BB7mMPG9eXhxnCsJCsH7QaUGV1Hovtb+ITgdJ477hD9heWYc+4r1G5T7kEp7Ptr961F yTpayqbiAQ54J/O9g5X20DM0/oZbD5snEUEG+HGafOyfjanjCut8loituqckadxCSkGH O5mQ== X-Gm-Message-State: ABuFfojKZTYeAMRqMJvUpy/bGBe9yyTcQl9Rl6deJEUn9Q0z9wWeXXoc YsnXLr5gNMitkryYwJ8VklEbDZlyiKA= X-Google-Smtp-Source: ACcGV62FVoyqess0xUjBs9xpq4EkxTmfJRXQylxaSlh7dLUcIZty8L2uBWeeMelWnBZE9ubz7d5S0g== X-Received: by 2002:a62:5f05:: with SMTP id t5-v6mr17751282pfb.223.1539612476239; Mon, 15 Oct 2018 07:07:56 -0700 (PDT) Received: from tomato.housegordon.com (moose.housegordon.com. [184.68.105.38]) by smtp.googlemail.com with ESMTPSA id z25-v6sm14971629pfl.58.2018.10.15.07.07.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 15 Oct 2018 07:07:54 -0700 (PDT) Subject: Re: bug#9594: 27.3 Numeric modes (File permissions): Special mode bits assume file is regular To: Filipus Klutiero , 9594@debbugs.gnu.org References: <4E7E4C9F.5040402@gmail.com> <4E7EA9E8.9020300@cs.ucla.edu> <4E7F333B.5060105@gmail.com> From: Assaf Gordon Message-ID: <58b3b216-cec0-9ca3-70fe-56cf71b70768@gmail.com> Date: Mon, 15 Oct 2018 08:07:53 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <4E7F333B.5060105@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 9594 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 (-) close 9594 retitle 9594 doc: expand 27.3 Numeric modes (File permissions) stop (triaging old bugs) Hello, On 25/09/11 07:57 AM, Filipus Klutiero wrote: > Le 2011-09-25 00:11, Paul Eggert a écrit : >> On 09/24/11 14:33, Filipus Klutiero wrote: >> >>> These correspondences assume that the file is a regular file. >> Not really: for example, the phrase "execute/search" >> refers to execution (for regular files) and search >> (for directories), and "Restricted deletion flag or sticky bit" >> is talking about directories (for deletion) and regular >> files (for sticky bit). > Sorry if the body didn't specify, but I was only referring to special > mode bits. And indeed, one of them is OK. With no further correspondence in 7 years, I'm closing this bug. Discussion can continue by replying to this thread. regards, - assaf From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 20 11:31:02 2018 Received: (at 9594) by debbugs.gnu.org; 20 Oct 2018 15:31:02 +0000 Received: from localhost ([127.0.0.1]:33384 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gDtDR-0006VJ-Hm for submit@debbugs.gnu.org; Sat, 20 Oct 2018 11:31:01 -0400 Received: from mail-qk1-f196.google.com ([209.85.222.196]:45921) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gDtDP-0006V2-Lg for 9594@debbugs.gnu.org; Sat, 20 Oct 2018 11:31:00 -0400 Received: by mail-qk1-f196.google.com with SMTP id m8-v6so22825075qka.12 for <9594@debbugs.gnu.org>; Sat, 20 Oct 2018 08:30:59 -0700 (PDT) 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-transfer-encoding:content-language; bh=6UhhjAF6P+WQmSccVXD3E3ds6o5jmYUwBzxMnGOmfIk=; b=MFFoJ+w36IxpdVCUgaz10kYTwA2Ix+hOXvwIu3gE+XmOqyMJAL3FSMr7vsX+owMbar HUj8EEj/mibY1YKmR9UtZaazWmuWpkO69LZhHx7+8oRQXcPjncomB3f4cXbCMI6qKJU1 zU6BPXrUAMCKxmRgotXNRE2f1oXr8p5GUcU1GyqApbpyzii1bDZbIW13QMXv4uwBQuNn tH6AC2W+vL+t2uzD7kuvXrlbKI3W2c2LtA6+f4ToUST/Ca17fYfFKyYh/M5+jeDhTjJD klTikHc/su2q1Gmt/iG1pcvSe3kifp/8uCIYCOtADc94s3qe7ALjHlhFi3/qSsGL51wL xEKA== 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-transfer-encoding :content-language; bh=6UhhjAF6P+WQmSccVXD3E3ds6o5jmYUwBzxMnGOmfIk=; b=C9vkEURRcdxtTzlLOvYY3Zfa3FVqJwnjuheiyKbL2p6N53fUPDK6n/cCi5Z4+IKY5V 0sHgUs69utspUBqgQpWp5cGLEESUtyBds0E9OWBH+e4zLfyMxQ3e6SjuJlazBOIxHDTQ sa1dnwpA4TRIlQv3Do610KaYGWyy59NnFCkaYX5XPIE9msUCIyqcyTpP+M690Xj0nuPB x0yrUNn7n2OJ2QWaHnc8xMWUn0m/H9yXSYj0L8GdXAirmCSTlrtDcbPSRJEb0amE7x8m WmU0/CtPfWg2SVl3EsGIarABiDhEj5Csr12Y3Way2p0fz3o9HwNaa1lk9ChoeubS1UVr KIAA== X-Gm-Message-State: ABuFfogML0DXfZL114yl2SXhfdwYFdd1HCjfzQsLyZ55TA0+kzyPcF3f rf2oQpmNzNPWwJCPQC+LVGMuyLYdcmY= X-Google-Smtp-Source: ACcGV62WfZftYKekcbvQ9VJgHpSJuPYuxshhM6Z4hflnY/RO4s2irp5d9HUKIx6uXj6UNu0hH6jBpA== X-Received: by 2002:a37:a804:: with SMTP id r4-v6mr35187022qke.143.1540049453807; Sat, 20 Oct 2018 08:30:53 -0700 (PDT) Received: from [192.168.2.19] (qubcpq0641w-lp140-01-76-71-250-199.dsl.bell.ca. [76.71.250.199]) by smtp.googlemail.com with ESMTPSA id z2-v6sm435812qki.52.2018.10.20.08.30.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 20 Oct 2018 08:30:52 -0700 (PDT) Subject: Re: bug#9594: 27.3 Numeric modes (File permissions): Special mode bits assume file is regular To: Assaf Gordon , 9594@debbugs.gnu.org References: <4E7E4C9F.5040402@gmail.com> <4E7EA9E8.9020300@cs.ucla.edu> <4E7F333B.5060105@gmail.com> <58b3b216-cec0-9ca3-70fe-56cf71b70768@gmail.com> From: Philippe Cloutier Message-ID: Date: Sat, 20 Oct 2018 11:30:51 -0400 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 In-Reply-To: <58b3b216-cec0-9ca3-70fe-56cf71b70768@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: fr X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 9594 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 (-) Hi Assaf, On 18-10-15 10 h 07, Assaf Gordon wrote: > close 9594 > retitle 9594 doc: expand 27.3 Numeric modes (File permissions) > stop > > (triaging old bugs) > > Hello, > > On 25/09/11 07:57 AM, Filipus Klutiero wrote: >> Le 2011-09-25 00:11, Paul Eggert a écrit : >>> On 09/24/11 14:33, Filipus Klutiero wrote: >>> >>>> These correspondences assume that the file is a regular file. >>> Not really: for example, the phrase "execute/search" >>> refers to execution (for regular files) and search >>> (for directories), and "Restricted deletion flag or sticky bit" >>> is talking about directories (for deletion) and regular >>> files (for sticky bit). >> Sorry if the body didn't specify, but I was only referring to special mode bits. And indeed, one of them is OK. > > With no further correspondence in 7 years, I'm closing this bug. Please clarify why this was closed. I still see the bug in Debian 9's coreutils 8.26-3. Was this fixed since? > Discussion can continue by replying to this thread. > > regards, >  - assaf -- Philippe Cloutier http://www.philippecloutier.com From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 20 14:04:34 2018 Received: (at 9594) by debbugs.gnu.org; 20 Oct 2018 18:04:34 +0000 Received: from localhost ([127.0.0.1]:33427 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gDvc2-0001bi-8m for submit@debbugs.gnu.org; Sat, 20 Oct 2018 14:04:34 -0400 Received: from zimbra.cs.ucla.edu ([131.179.128.68]:48160) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gDvbz-0001bU-LI for 9594@debbugs.gnu.org; Sat, 20 Oct 2018 14:04:32 -0400 Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id E7EFB160058; Sat, 20 Oct 2018 11:04:25 -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 K_IB-5beFRqx; Sat, 20 Oct 2018 11:04:24 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id CC65816005D; Sat, 20 Oct 2018 11:04:24 -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 nMWp9BkUEtcs; Sat, 20 Oct 2018 11:04:24 -0700 (PDT) Received: from [192.168.1.9] (cpe-23-242-74-103.socal.res.rr.com [23.242.74.103]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 95A52160058; Sat, 20 Oct 2018 11:04:24 -0700 (PDT) Subject: Re: bug#9594: 27.3 Numeric modes (File permissions): Special mode bits assume file is regular To: Philippe Cloutier , Assaf Gordon , 9594@debbugs.gnu.org References: <4E7E4C9F.5040402@gmail.com> <4E7EA9E8.9020300@cs.ucla.edu> <4E7F333B.5060105@gmail.com> <58b3b216-cec0-9ca3-70fe-56cf71b70768@gmail.com> From: Paul Eggert Organization: UCLA Computer Science Department Message-ID: <41007717-995b-1985-2e06-207b9ca0550a@cs.ucla.edu> Date: Sat, 20 Oct 2018 11:04:24 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/mixed; boundary="------------6FA0BD91D3769DDAF194DF7A" Content-Language: en-US X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 9594 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 (---) This is a multi-part message in MIME format. --------------6FA0BD91D3769DDAF194DF7A Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Philippe Cloutier wrote: > Please clarify why this was closed. It was closed primarily because no specific wording fix was proposed. I looked at the bug report again, and don't agree that the old wording was wrong or even misleading. It's merely a summary table, there's a lot of explanatory text before the table, and we shouldn't clutter the table with another copy of the explanation. That being said, the explanatory text can be improved and the summary table can be abbreviated even further by removing the phrase "on execution" which seems to be the primary point of the original bug report. I installed the attached. --------------6FA0BD91D3769DDAF194DF7A Content-Type: text/plain; charset=UTF-8; name="0001-doc-tidy-up-setuid-commentary.txt" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="0001-doc-tidy-up-setuid-commentary.txt" RnJvbSA4ZWE5MmYyYTFkNzZiMjI0NjI0ZTk3NzA0NDRkZTQ5YzU4YzNjZDMzIE1vbiBTZXAg MTcgMDA6MDA6MDAgMjAwMQpGcm9tOiBQYXVsIEVnZ2VydCA8ZWdnZXJ0QGNzLnVjbGEuZWR1 PgpEYXRlOiBTYXQsIDIwIE9jdCAyMDE4IDEwOjQ1OjM1IC0wNzAwClN1YmplY3Q6IFtQQVRD SF0gZG9jOiB0aWR5IHVwIHNldHVpZCBjb21tZW50YXJ5Ck1JTUUtVmVyc2lvbjogMS4wCkNv bnRlbnQtVHlwZTogdGV4dC9wbGFpbjsgY2hhcnNldD1VVEYtOApDb250ZW50LVRyYW5zZmVy LUVuY29kaW5nOiA4Yml0CgoqIGRvYy9wZXJtLnRleGkgKE1vZGUgU3RydWN0dXJlKTogSW1w cm92ZSB3b3JkaW5nLgooTnVtZXJpYyBNb2Rlcyk6IERvbuKAmXQgc2F5IOKAnG9uIGV4ZWN1 dGlvbuKAnSAoQnVnIzk1OTQpLgotLS0KIGRvYy9wZXJtLnRleGkgfCAzMCArKysrKysrKysr KysrKy0tLS0tLS0tLS0tLS0tLS0KIDEgZmlsZSBjaGFuZ2VkLCAxNCBpbnNlcnRpb25zKCsp LCAxNiBkZWxldGlvbnMoLSkKCmRpZmYgLS1naXQgYS9kb2MvcGVybS50ZXhpIGIvZG9jL3Bl cm0udGV4aQppbmRleCA3N2VjMWE1OWMuLjc4ZjBmMGU0YSAxMDA2NDQKLS0tIGEvZG9jL3Bl cm0udGV4aQorKysgYi9kb2MvcGVybS50ZXhpCkBAIC03MCwzOCArNzAsMzYgQEAgSW4gYWRk aXRpb24gdG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g ICAgICBTZXQgZ3JvdXAgSUQgb24gZXhlY3V0aW9uCis0MDAwICAgICAgU2V0IHVzZXIgSUQK KzIwMDAgICAgICBTZXQgZ3JvdXAgSUQKIDEwMDAgICAgICBSZXN0cmljdGVkIGRlbGV0aW9u IGZsYWcgb3Igc3RpY2t5IGJpdAogCiAgICAgICAgICAgVGhlIGZpbGUncyBvd25lcjoKLS0g CjIuMTcuMQoK --------------6FA0BD91D3769DDAF194DF7A-- From unknown Sun Aug 10 09:45:40 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, 18 Nov 2018 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