From unknown Mon Aug 18 04:42:40 2025 X-Loop: help-debbugs@gnu.org Subject: bug#8186: dired-font-lock-keywords should warn about SUID files too! Resent-From: jidanni@jidanni.org Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 06 Mar 2011 09:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 8186 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 8186@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.12994037313578 (code B ref -1); Sun, 06 Mar 2011 09:29:02 +0000 Received: (at submit) by debbugs.gnu.org; 6 Mar 2011 09:28:51 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PwAGg-0000ve-SP for submit@debbugs.gnu.org; Sun, 06 Mar 2011 04:28:51 -0500 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PwAGf-0000vQ-24 for submit@debbugs.gnu.org; Sun, 06 Mar 2011 04:28:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PwAGZ-0007bF-6R for submit@debbugs.gnu.org; Sun, 06 Mar 2011 04:28:44 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_00, DATE_IN_PAST_03_06, RCVD_IN_DNSWL_NONE,T_DKIM_INVALID autolearn=no version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:39245) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PwAGZ-0007bB-35 for submit@debbugs.gnu.org; Sun, 06 Mar 2011 04:28:43 -0500 Received: from [140.186.70.92] (port=39086 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PwAGY-0002X5-3U for bug-gnu-emacs@gnu.org; Sun, 06 Mar 2011 04:28:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PwAGV-0007az-Ml for bug-gnu-emacs@gnu.org; Sun, 06 Mar 2011 04:28:41 -0500 Received: from caiajhbdccah.dreamhost.com ([208.97.132.207]:35784 helo=homiemail-a4.g.dreamhost.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PwAGV-0007at-Dr for bug-gnu-emacs@gnu.org; Sun, 06 Mar 2011 04:28:39 -0500 Received: from homiemail-a4.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a4.g.dreamhost.com (Postfix) with ESMTP id A011251C070 for ; Sun, 6 Mar 2011 01:28:38 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=jidanni.org; h=from:to:subject :date:message-id:mime-version:content-type; q=dns; s=jidanni.org ; b=mWIDxXF5JRKHdlds1xFEtBiiLtaML/lvyOQKJmESDD61/XL4UmeNwMsKMrGQ IiYuHNl8REWxJJcRzF8adV9C6OjWdXrwER2KVcttMZG9VQV+yHdO3MFB/s9324YX cn4nxEDXy+CKJcZz6Huzdlev4qiMgzeCTweyQgWpA+3XGUw= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to :subject:date:message-id:mime-version:content-type; s= jidanni.org; bh=oJF8cUcP5CqMv4EpG8LgrWUspPQ=; b=M4mgCHlUAWUXRweO Sa+JaM7P8vxRvC3uz9G49WCU1I8c02FwkEHo2DtxDrBtEz9MudXXb35QJKOVNsTu uuT1EQYKER3fu+xssJXprUrnw6U12v6Bs8G8cBFfDjM7dQZKDAPVPYka8cTKH6ZH 3k5IVS5rIfPDH7KHE4Rr57BWDIs= Received: from jidanni.org (218-163-7-133.dynamic.hinet.net [218.163.7.133]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by homiemail-a4.g.dreamhost.com (Postfix) with ESMTPSA id 43F8451C06C for ; Sun, 6 Mar 2011 01:28:37 -0800 (PST) From: jidanni@jidanni.org Date: Sun, 06 Mar 2011 13:12:34 +0800 Message-ID: <87hbbg7ry5.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 199.232.76.165 X-Spam-Score: -5.4 (-----) 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.4 (-----) dired-font-lock-keywords is nice, but it totally forgot about the more dangerous SUID and SGID 4xxx and 2xxx mode files! E.g., -rwsr-xr-x 1 root root 33 Mar 6 12:59 somefile From unknown Mon Aug 18 04:42:40 2025 X-Loop: help-debbugs@gnu.org Subject: bug#8186: dired-font-lock-keywords should warn about SUID files too! Resent-From: "Drew Adams" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 06 Mar 2011 18:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8186 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: , <8186@debbugs.gnu.org> Received: via spool by 8186-submit@debbugs.gnu.org id=B8186.129943538429698 (code B ref 8186); Sun, 06 Mar 2011 18:17:02 +0000 Received: (at 8186) by debbugs.gnu.org; 6 Mar 2011 18:16:24 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PwIVD-0007ix-Lv for submit@debbugs.gnu.org; Sun, 06 Mar 2011 13:16:23 -0500 Received: from rcsinet10.oracle.com ([148.87.113.121]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PwIVC-0007ik-1E for 8186@debbugs.gnu.org; Sun, 06 Mar 2011 13:16:22 -0500 Received: from rcsinet13.oracle.com (rcsinet13.oracle.com [148.87.113.125]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id p26IGE96015671 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 6 Mar 2011 18:16:16 GMT Received: from acsmt355.oracle.com (acsmt355.oracle.com [141.146.40.155]) by rcsinet13.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id p26GoZ7J031946; Sun, 6 Mar 2011 18:16:14 GMT Received: from abhmt006.oracle.com by acsmt355.oracle.com with ESMTP id 1112849681299435347; Sun, 06 Mar 2011 10:15:47 -0800 Received: from dradamslap1 (/10.159.53.25) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sun, 06 Mar 2011 10:15:47 -0800 From: "Drew Adams" References: <87hbbg7ry5.fsf@jidanni.org> Date: Sun, 6 Mar 2011 10:15:46 -0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <87hbbg7ry5.fsf@jidanni.org> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5994 thread-index: Acvb4gv2dkS5CnmySd+6rZaS+DMacwARHMzA X-Source-IP: acsmt355.oracle.com [141.146.40.155] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090202.4D73CF6E.025C,ss=1,fgs=0 X-Spam-Score: -6.4 (------) 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: -6.4 (------) > dired-font-lock-keywords is nice, but it totally forgot about the more > dangerous SUID and SGID 4xxx and 2xxx mode files! E.g., > -rwsr-xr-x 1 root root 33 Mar 6 12:59 somefile FWIW - Dired fontification of permissions came from my suggestion many moon ago. Acceptance was half-hearted and the feature was implemented only partially. The different permissions have been highlighted individually in Dired+ for decades, including the ones you mention. http://www.emacswiki.org/emacs/download/dired%2b.el So 1+ to your suggestion. From unknown Mon Aug 18 04:42:40 2025 X-Loop: help-debbugs@gnu.org Subject: bug#8186: dired-font-lock-keywords should warn about SUID files too! In-Reply-To: <87hbbg7ry5.fsf@jidanni.org> Resent-From: jidanni@jidanni.org Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 06 Mar 2011 21:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8186 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: drew.adams@oracle.com Cc: 8186@debbugs.gnu.org Received: via spool by 8186-submit@debbugs.gnu.org id=B8186.129944660516524 (code B ref 8186); Sun, 06 Mar 2011 21:24:02 +0000 Received: (at 8186) by debbugs.gnu.org; 6 Mar 2011 21:23:25 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PwLQC-0004IT-CZ for submit@debbugs.gnu.org; Sun, 06 Mar 2011 16:23:24 -0500 Received: from mailbigip.dreamhost.com ([208.97.132.5] helo=homiemail-a10.g.dreamhost.com) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PwLQ9-0004IH-Re for 8186@debbugs.gnu.org; Sun, 06 Mar 2011 16:23:22 -0500 Received: from homiemail-a10.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a10.g.dreamhost.com (Postfix) with ESMTP id E0D2E28006C; Sun, 6 Mar 2011 13:23:14 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=jidanni.org; h=from:to:cc:subject :references:date:message-id:mime-version:content-type; q=dns; s= jidanni.org; b=W29vFuCkPuRt4pGISYnKPRKqeZE+nY5f23P4X9lLPiZ9fWcYR Uk83PT/aobR9WJk6Z2MiFPGOKq9/Q1YjT+MvTbLyJpE/Js6Iwf7hxye2FJTMQ/8u jhQEbaU1LpQRTwoOzrOaueFNUamx0OJUCJx583exGaQNkwmfRj8BRy17Kk= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to:cc :subject:references:date:message-id:mime-version:content-type; s=jidanni.org; bh=u+x5tw8jOcN7gaIX2Mx+3nMtaqo=; b=Fu/QEHJZEiTsb hCkuiDkmEF6K9rFam9vwepQCc6/hH4Vg3mW18csKKMqZT8FmAQfpz7r+CNTcGIGM HzDqgkTO6fwohiLkVpemSkt1EBDGlxlHS85J7YwXGZ9yJFyLiG+9G+LZfzYwpcLw SY19x5Lo9zCeIWEzVhqrD3kLKVdwrk= Received: from jidanni.org (218-163-0-123.dynamic.hinet.net [218.163.0.123]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by homiemail-a10.g.dreamhost.com (Postfix) with ESMTPSA id 991F528005E; Sun, 6 Mar 2011 13:23:14 -0800 (PST) From: jidanni@jidanni.org References: Date: Mon, 07 Mar 2011 05:23:12 +0800 Message-ID: <87aah8vt8f.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -3.5 (---) 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: -3.5 (---) Let's hope they adopt them into official emacs. From unknown Mon Aug 18 04:42:40 2025 X-Loop: help-debbugs@gnu.org Subject: bug#8186: dired-font-lock-keywords should warn about SUID files too! Resent-From: "Drew Adams" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 06 Mar 2011 23:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8186 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Cc: 8186@debbugs.gnu.org Received: via spool by 8186-submit@debbugs.gnu.org id=B8186.129945526129044 (code B ref 8186); Sun, 06 Mar 2011 23:48:02 +0000 Received: (at 8186) by debbugs.gnu.org; 6 Mar 2011 23:47:41 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PwNfo-0007YP-Mq for submit@debbugs.gnu.org; Sun, 06 Mar 2011 18:47:40 -0500 Received: from rcsinet10.oracle.com ([148.87.113.121]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PwNfm-0007YE-W7 for 8186@debbugs.gnu.org; Sun, 06 Mar 2011 18:47:39 -0500 Received: from rcsinet13.oracle.com (rcsinet13.oracle.com [148.87.113.125]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id p26NlVZq010968 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 6 Mar 2011 23:47:33 GMT Received: from acsmt354.oracle.com (acsmt354.oracle.com [141.146.40.154]) by rcsinet13.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id p26MmYYl005428; Sun, 6 Mar 2011 23:47:30 GMT Received: from abhmt017.oracle.com by acsmt355.oracle.com with ESMTP id 1062189001299447912; Sun, 06 Mar 2011 13:45:12 -0800 Received: from dradamslap1 (/10.159.53.25) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sun, 06 Mar 2011 13:45:12 -0800 From: "Drew Adams" References: <87aah8vt8f.fsf@jidanni.org> Date: Sun, 6 Mar 2011 13:45:12 -0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <87aah8vt8f.fsf@jidanni.org> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5994 thread-index: AcvcRLYHq3fBI3oGS9OmYsUU7vGYHAAAqlZQ X-Source-IP: acsmt354.oracle.com [141.146.40.154] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090205.4D741D13.0143,ss=1,fgs=0 X-Spam-Score: -6.4 (------) 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: -6.4 (------) > Let's hope they adopt them into official emacs. Unlikely. I've offered Dired+ more than once over the years. Very few of the features have been added or imitated. From unknown Mon Aug 18 04:42:40 2025 X-Loop: help-debbugs@gnu.org Subject: bug#8186: dired-font-lock-keywords should warn about SUID files too! Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 14 Oct 2019 01:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8186 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: jidanni@jidanni.org Cc: 8186@debbugs.gnu.org Received: via spool by 8186-submit@debbugs.gnu.org id=B8186.15710167271385 (code B ref 8186); Mon, 14 Oct 2019 01:33:01 +0000 Received: (at 8186) by debbugs.gnu.org; 14 Oct 2019 01:32:07 +0000 Received: from localhost ([127.0.0.1]:37366 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iJpDT-0000MH-9Z for submit@debbugs.gnu.org; Sun, 13 Oct 2019 21:32:07 -0400 Received: from quimby.gnus.org ([80.91.231.51]:43934) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iJpDR-0000M8-OG for 8186@debbugs.gnu.org; Sun, 13 Oct 2019 21:32:06 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iJpDM-0007zf-Uf; Mon, 14 Oct 2019 03:32:03 +0200 From: Lars Ingebrigtsen References: <87hbbg7ry5.fsf@jidanni.org> Date: Mon, 14 Oct 2019 03:32:00 +0200 In-Reply-To: <87hbbg7ry5.fsf@jidanni.org> (jidanni@jidanni.org's message of "Sun, 06 Mar 2011 13:12:34 +0800") Message-ID: <87a7a4t8mn.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.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 @@CONTACT_ADDRESS@@ for details. Content preview: jidanni@jidanni.org writes: > dired-font-lock-keywords is nice, but it totally forgot about the more > dangerous SUID and SGID 4xxx and 2xxx mode files! E.g., > -rwsr-xr-x 1 root root 33 Mar 6 12:59 somefile Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 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 (-) jidanni@jidanni.org writes: > dired-font-lock-keywords is nice, but it totally forgot about the more > dangerous SUID and SGID 4xxx and 2xxx mode files! E.g., > -rwsr-xr-x 1 root root 33 Mar 6 12:59 somefile I've now made Emacs 27 font-lock these permissions with the warning face. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 13 21:32:10 2019 Received: (at control) by debbugs.gnu.org; 14 Oct 2019 01:32:11 +0000 Received: from localhost ([127.0.0.1]:37369 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iJpDW-0000MY-LW for submit@debbugs.gnu.org; Sun, 13 Oct 2019 21:32:10 -0400 Received: from quimby.gnus.org ([80.91.231.51]:43948) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iJpDU-0000MP-CA for control@debbugs.gnu.org; Sun, 13 Oct 2019 21:32:08 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iJpDR-0007zp-Kf for control@debbugs.gnu.org; Mon, 14 Oct 2019 03:32:07 +0200 Date: Mon, 14 Oct 2019 03:32:05 +0200 Message-Id: <878spot8mi.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #8186 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.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 @@CONTACT_ADDRESS@@ for details. Content preview: tags 8186 fixed close 8186 27.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) 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 (-) tags 8186 fixed close 8186 27.1 quit From unknown Mon Aug 18 04:42:40 2025 X-Loop: help-debbugs@gnu.org Subject: bug#8186: dired-font-lock-keywords should warn about SUID files too! Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 27 Oct 2019 22:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8186 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed To: Lars Ingebrigtsen Cc: 8186@debbugs.gnu.org, jidanni@jidanni.org Received: via spool by 8186-submit@debbugs.gnu.org id=B8186.157221376818659 (code B ref 8186); Sun, 27 Oct 2019 22:03:02 +0000 Received: (at 8186) by debbugs.gnu.org; 27 Oct 2019 22:02:48 +0000 Received: from localhost ([127.0.0.1]:43600 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iOqca-0004qs-7l for submit@debbugs.gnu.org; Sun, 27 Oct 2019 18:02:48 -0400 Received: from dog.ash.relay.mailchannels.net ([23.83.222.48]:37128) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iOqcX-0004qc-Ie for 8186@debbugs.gnu.org; Sun, 27 Oct 2019 18:02:47 -0400 X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 706F21A0D0B; Sun, 27 Oct 2019 22:02:41 +0000 (UTC) Received: from pdx1-sub0-mail-a38.g.dreamhost.com (100-96-14-244.trex.outbound.svc.cluster.local [100.96.14.244]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id C67C41A09F3; Sun, 27 Oct 2019 22:02:40 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Received: from pdx1-sub0-mail-a38.g.dreamhost.com ([TEMPUNAVAIL]. [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.18.5); Sun, 27 Oct 2019 22:02:41 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Arithmetic-Abaft: 3cc1035c48af162e_1572213761041_3002172597 X-MC-Loop-Signature: 1572213761041:3673679708 X-MC-Ingress-Time: 1572213761041 Received: from pdx1-sub0-mail-a38.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a38.g.dreamhost.com (Postfix) with ESMTP id 875788C0A4; Sun, 27 Oct 2019 15:02:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=linkov.net; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=linkov.net; bh=Vbw1AM87BbnNYJGsJ50J29TtDqI=; b= qk/PFAMS0GN/n+WJBDaSXO2fkx5E52WEqk0mU7UPAw2XAbw061qvhjFuPsiTtAmH XueaT9lnKVTNQ37jn0Zx5GXNuqdT///h8hy2ZXG+lpzcSJgsbHJY6gQj0ul9L0Im F5+sHbLJHo59duUVqLtwVONcyLWM+AoiIk0ip9G0+NM= Received: from mail.jurta.org (m91-129-98-153.cust.tele2.ee [91.129.98.153]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jurta@jurta.org) by pdx1-sub0-mail-a38.g.dreamhost.com (Postfix) with ESMTPSA id CD54D8BCD6; Sun, 27 Oct 2019 15:02:33 -0700 (PDT) X-DH-BACKEND: pdx1-sub0-mail-a38 From: Juri Linkov Organization: LINKOV.NET References: <87hbbg7ry5.fsf@jidanni.org> <87a7a4t8mn.fsf@gnus.org> Date: Sun, 27 Oct 2019 23:28:52 +0200 In-Reply-To: <87a7a4t8mn.fsf@gnus.org> (Lars Ingebrigtsen's message of "Mon, 14 Oct 2019 03:32:00 +0200") Message-ID: <87tv7u87oj.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain 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 (-) >> dired-font-lock-keywords is nice, but it totally forgot about the more >> dangerous SUID and SGID 4xxx and 2xxx mode files! E.g., >> -rwsr-xr-x 1 root root 33 Mar 6 12:59 somefile > > I've now made Emacs 27 font-lock these permissions with the warning face. I checked the directory /run and there is: drwxrwsr-x 3 postgres postgres 120 postgresql where 'w' in group is rightfully highlighted with the 'dired-perm-write' face, but 's' in the same group is not highlighted with the 'dired-set-id' face. Is this intentional? From unknown Mon Aug 18 04:42:40 2025 X-Loop: help-debbugs@gnu.org Subject: bug#8186: dired-font-lock-keywords should warn about SUID files too! Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 28 Oct 2019 11:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8186 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed To: Juri Linkov Cc: 8186@debbugs.gnu.org, jidanni@jidanni.org Received: via spool by 8186-submit@debbugs.gnu.org id=B8186.157226150216659 (code B ref 8186); Mon, 28 Oct 2019 11:19:01 +0000 Received: (at 8186) by debbugs.gnu.org; 28 Oct 2019 11:18:22 +0000 Received: from localhost ([127.0.0.1]:43934 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iP32T-0004Kc-KS for submit@debbugs.gnu.org; Mon, 28 Oct 2019 07:18:21 -0400 Received: from quimby.gnus.org ([80.91.231.51]:38876) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iP32R-0004KU-Oo for 8186@debbugs.gnu.org; Mon, 28 Oct 2019 07:18:20 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iP32M-0006QP-B8; Mon, 28 Oct 2019 12:18:16 +0100 From: Lars Ingebrigtsen References: <87hbbg7ry5.fsf@jidanni.org> <87a7a4t8mn.fsf@gnus.org> <87tv7u87oj.fsf@mail.linkov.net> Date: Mon, 28 Oct 2019 12:18:13 +0100 In-Reply-To: <87tv7u87oj.fsf@mail.linkov.net> (Juri Linkov's message of "Sun, 27 Oct 2019 23:28:52 +0200") Message-ID: <87mudlazka.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.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 @@CONTACT_ADDRESS@@ for details. Content preview: Juri Linkov writes: > I checked the directory /run and there is: > > drwxrwsr-x 3 postgres postgres 120 postgresql > > where 'w' in group is rightfully highlighted with the 'dired-perm-write' face, > but 's' in the same [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 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 (-) Juri Linkov writes: > I checked the directory /run and there is: > > drwxrwsr-x 3 postgres postgres 120 postgresql > > where 'w' in group is rightfully highlighted with the 'dired-perm-write' face, > but 's' in the same group is not highlighted with the 'dired-set-id' face. > > Is this intentional? No... Do we need to add combinatorial versions of all the regexps to dired-font-lock-keywords or is there a better way? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Mon Aug 18 04:42:40 2025 X-Loop: help-debbugs@gnu.org Subject: bug#8186: dired-font-lock-keywords should warn about SUID files too! Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 28 Oct 2019 14:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8186 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed To: Lars Ingebrigtsen , Juri Linkov Cc: 8186@debbugs.gnu.org, jidanni@jidanni.org Received: via spool by 8186-submit@debbugs.gnu.org id=B8186.15722725932607 (code B ref 8186); Mon, 28 Oct 2019 14:24:02 +0000 Received: (at 8186) by debbugs.gnu.org; 28 Oct 2019 14:23:13 +0000 Received: from localhost ([127.0.0.1]:46028 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iP5vN-0000fz-6x for submit@debbugs.gnu.org; Mon, 28 Oct 2019 10:23:13 -0400 Received: from userp2130.oracle.com ([156.151.31.86]:41314) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iP5vK-0000fj-CN for 8186@debbugs.gnu.org; Mon, 28 Oct 2019 10:23:12 -0400 Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x9SELds1138664; Mon, 28 Oct 2019 14:23:04 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2019-08-05; bh=gsIPReson1iqgWh/44N/tK/5Fb4byL8lRNrMCcmsEzM=; b=VxkuRiWK7dtj8gYhV8h8eJN3Vd83Ja5fgvdwgisB0Dx7YJgrLFgwOkDQvnblNibPuplA mJv4GXraEXcSVjJO7Eta/GkIm4c4RqPQdw9EciCyaE69EFmpDcj4vcH8Pj8TM9fYhIxv 2Xa9UUKnJwPsBbJWxuPb5Bz9RNC2amztkKpchd0iuj2x2UxXQlSsYMzb33k+eKoVJ3ih ECMv2Wmycv4zmG5zz7Ii2vVJ3hmoTFZvbAk8rDZ7MxeJIdV7iw7XIcU8OyRzKuIJAJw/ mE/hqGQDqZPe+M+ziKhMYr5BoS0KZy+Izobx3HENGBdbEG24rb4I22H7VCvRIceM8U+/ 3Q== Received: from aserp3030.oracle.com (aserp3030.oracle.com [141.146.126.71]) by userp2130.oracle.com with ESMTP id 2vvdju2eyq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 28 Oct 2019 14:23:04 +0000 Received: from pps.filterd (aserp3030.oracle.com [127.0.0.1]) by aserp3030.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x9SEM7GB174383; Mon, 28 Oct 2019 14:23:03 GMT Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by aserp3030.oracle.com with ESMTP id 2vwaky3240-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 28 Oct 2019 14:23:03 +0000 Received: from abhmp0018.oracle.com (abhmp0018.oracle.com [141.146.116.24]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id x9SEN2PR022869; Mon, 28 Oct 2019 14:23:02 GMT MIME-Version: 1.0 Message-ID: Date: Mon, 28 Oct 2019 07:23:01 -0700 (PDT) From: Drew Adams References: <87hbbg7ry5.fsf@jidanni.org> <87a7a4t8mn.fsf@gnus.org> <87tv7u87oj.fsf@mail.linkov.net> <87mudlazka.fsf@gnus.org> In-Reply-To: <87mudlazka.fsf@gnus.org> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4900.0 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9423 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1908290000 definitions=main-1910280148 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9423 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1908290000 definitions=main-1910280148 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 (---) > > I checked the directory /run and there is: > > drwxrwsr-x 3 postgres postgres 120 postgresql > > where 'w' in group is rightfully highlighted with the 'dired-perm-write= ' face, > > but 's' in the same group is not highlighted with the 'dired-set-id' fa= ce. > > Is this intentional? >=20 > No... Do we need to add combinatorial versions of all the regexps to > dired-font-lock-keywords or is there a better way? FWIW - If by that you mean highlight the different privileges for each possible role (other, group, user), then `dired+.el' has done that since sometime in the 90s. (I suggested it for Emacs back then.) Not a big deal: (list (concat dired-re-maybe-mark dired-re-inode-size "[-dl]........\\([lsStT]\\)") ; o misc '(1 diredp-other-priv)) (list (concat dired-re-maybe-mark dired-re-inode-size "[-dl].....\\([lsStT]\\)...") ; g misc '(1 diredp-other-priv)) (list (concat dired-re-maybe-mark dired-re-inode-size "[-dl]..\\([lsStT]\\)...") ; u misc '(1 diredp-other-priv)) (list (concat dired-re-maybe-mark dired-re-inode-size "\\([bcsmpS]\\)") ; (rare) '(1 diredp-rare-priv keep)) https://www.emacswiki.org/emacs/download/dired%2b.el From unknown Mon Aug 18 04:42:40 2025 X-Loop: help-debbugs@gnu.org Subject: bug#8186: dired-font-lock-keywords should warn about SUID files too! Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 30 Oct 2019 12:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8186 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed To: Juri Linkov Cc: 8186@debbugs.gnu.org, jidanni@jidanni.org Received: via spool by 8186-submit@debbugs.gnu.org id=B8186.157243872330583 (code B ref 8186); Wed, 30 Oct 2019 12:33:01 +0000 Received: (at 8186) by debbugs.gnu.org; 30 Oct 2019 12:32:03 +0000 Received: from localhost ([127.0.0.1]:49422 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iPn8s-0007wv-N3 for submit@debbugs.gnu.org; Wed, 30 Oct 2019 08:32:03 -0400 Received: from quimby.gnus.org ([80.91.231.51]:55706) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iPn8r-0007ua-3H for 8186@debbugs.gnu.org; Wed, 30 Oct 2019 08:32:01 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iPn8l-0005pf-5p; Wed, 30 Oct 2019 13:31:57 +0100 From: Lars Ingebrigtsen References: <87hbbg7ry5.fsf@jidanni.org> <87a7a4t8mn.fsf@gnus.org> <87tv7u87oj.fsf@mail.linkov.net> Date: Wed, 30 Oct 2019 13:31:54 +0100 In-Reply-To: <87tv7u87oj.fsf@mail.linkov.net> (Juri Linkov's message of "Sun, 27 Oct 2019 23:28:52 +0200") Message-ID: <87zhhiv2h1.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.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 @@CONTACT_ADDRESS@@ for details. Content preview: Juri Linkov writes: > I checked the directory /run and there is: > > drwxrwsr-x 3 postgres postgres 120 postgresql > > where 'w' in group is rightfully highlighted with the 'dired-perm-write' face, > but 's' in the same [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 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 (-) Juri Linkov writes: > I checked the directory /run and there is: > > drwxrwsr-x 3 postgres postgres 120 postgresql > > where 'w' in group is rightfully highlighted with the 'dired-perm-write' face, > but 's' in the same group is not highlighted with the 'dired-set-id' face. > > Is this intentional? In my test cases, the setguid bit was shown like this: -rwxrwSrw- 1 larsi larsi 0 Oct 30 13:25 foo-test But apparently on other systems it's a lower case S? I've now adjusted the regexp to accept both. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Mon Aug 18 04:42:40 2025 X-Loop: help-debbugs@gnu.org Subject: bug#8186: dired-font-lock-keywords should warn about SUID files too! Resent-From: Andreas Schwab Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 30 Oct 2019 13:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8186 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed To: Lars Ingebrigtsen Cc: 8186@debbugs.gnu.org, jidanni@jidanni.org, Juri Linkov Received: via spool by 8186-submit@debbugs.gnu.org id=B8186.15724407959908 (code B ref 8186); Wed, 30 Oct 2019 13:07:01 +0000 Received: (at 8186) by debbugs.gnu.org; 30 Oct 2019 13:06:35 +0000 Received: from localhost ([127.0.0.1]:49479 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iPngJ-0002Zk-AB for submit@debbugs.gnu.org; Wed, 30 Oct 2019 09:06:35 -0400 Received: from mx2.suse.de ([195.135.220.15]:46674 helo=mx1.suse.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iPngH-0002ZW-5I for 8186@debbugs.gnu.org; Wed, 30 Oct 2019 09:06:33 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 1231DB5A3; Wed, 30 Oct 2019 13:06:25 +0000 (UTC) From: Andreas Schwab References: <87hbbg7ry5.fsf@jidanni.org> <87a7a4t8mn.fsf@gnus.org> <87tv7u87oj.fsf@mail.linkov.net> <87zhhiv2h1.fsf@gnus.org> X-Yow: YOW!! Date: Wed, 30 Oct 2019 14:06:24 +0100 In-Reply-To: <87zhhiv2h1.fsf@gnus.org> (Lars Ingebrigtsen's message of "Wed, 30 Oct 2019 13:31:54 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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 (---) On Okt 30 2019, Lars Ingebrigtsen wrote: > But apparently on other systems it's a lower case S? If you have a lower case s then it covers the x. Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different." From unknown Mon Aug 18 04:42:40 2025 X-Loop: help-debbugs@gnu.org Subject: bug#8186: dired-font-lock-keywords should warn about SUID files too! In-Reply-To: <87hbbg7ry5.fsf@jidanni.org> Resent-From: "Peder O. Klingenberg" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 30 Oct 2019 13:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8186 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed To: 8186@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.157244096110200 (code B ref -1); Wed, 30 Oct 2019 13:10:02 +0000 Received: (at submit) by debbugs.gnu.org; 30 Oct 2019 13:09:21 +0000 Received: from localhost ([127.0.0.1]:49490 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iPniz-0002eS-Cq for submit@debbugs.gnu.org; Wed, 30 Oct 2019 09:09:21 -0400 Received: from lists.gnu.org ([209.51.188.17]:39153) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iPnix-0002eJ-Fl for submit@debbugs.gnu.org; Wed, 30 Oct 2019 09:09:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43621) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iPniw-0003G0-Ef for bug-gnu-emacs@gnu.org; Wed, 30 Oct 2019 09:09:19 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: ** X-Spam-Status: No, score=2.2 required=5.0 tests=BAYES_50,KHOP_HELO_FCRDNS, RDNS_DYNAMIC autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iPniv-0005K4-G5 for bug-gnu-emacs@gnu.org; Wed, 30 Oct 2019 09:09:18 -0400 Received: from 195-159-176-226.customer.powertech.no ([195.159.176.226]:51284 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iPniv-0005GR-8q for bug-gnu-emacs@gnu.org; Wed, 30 Oct 2019 09:09:17 -0400 Received: from list by blaine.gmane.org with local (Exim 4.89) (envelope-from ) id 1iPnir-0002hz-5L for bug-gnu-emacs@gnu.org; Wed, 30 Oct 2019 14:09:13 +0100 X-Injected-Via-Gmane: http://gmane.org/ From: "Peder O. Klingenberg" Date: Wed, 30 Oct 2019 14:09:07 +0100 Organization: Persons in a Position to Know, inc. Message-ID: <27q48gftjagz2k.fsf@news.klingenberg.no> References: <87hbbg7ry5.fsf@jidanni.org> <87a7a4t8mn.fsf@gnus.org> <87tv7u87oj.fsf@mail.linkov.net> <87zhhiv2h1.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (darwin) Cancel-Lock: sha1:7Ydvb7U2su7h96uvvc1yS4FYHSk= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 195.159.176.226 X-Spam-Score: -2.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: -3.0 (---) On Wed, 2019-10-30 13:31:54 +0100, Lars Ingebrigtsen wrote: > In my test cases, the setguid bit was shown like this: > > -rwxrwSrw- 1 larsi larsi 0 Oct 30 13:25 foo-test > > But apparently on other systems it's a lower case S? The upper case S means that the x bit is not set. Try chmod g+x foo-test and see the upper case S change to a lower case. ...Peder... -- I wish a new life awaited _me_ in some off-world colony. From unknown Mon Aug 18 04:42:40 2025 X-Loop: help-debbugs@gnu.org Subject: bug#8186: dired-font-lock-keywords should warn about SUID files too! Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 30 Oct 2019 13:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8186 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed To: Andreas Schwab Cc: 8186@debbugs.gnu.org, jidanni@jidanni.org, Juri Linkov Received: via spool by 8186-submit@debbugs.gnu.org id=B8186.157244140810922 (code B ref 8186); Wed, 30 Oct 2019 13:17:02 +0000 Received: (at 8186) by debbugs.gnu.org; 30 Oct 2019 13:16:48 +0000 Received: from localhost ([127.0.0.1]:49501 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iPnqB-0002q5-Fi for submit@debbugs.gnu.org; Wed, 30 Oct 2019 09:16:47 -0400 Received: from quimby.gnus.org ([80.91.231.51]:56324) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iPnq4-0002pp-4b for 8186@debbugs.gnu.org; Wed, 30 Oct 2019 09:16:40 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iPnpV-0006M8-Nd; Wed, 30 Oct 2019 14:16:08 +0100 From: Lars Ingebrigtsen References: <87hbbg7ry5.fsf@jidanni.org> <87a7a4t8mn.fsf@gnus.org> <87tv7u87oj.fsf@mail.linkov.net> <87zhhiv2h1.fsf@gnus.org> Date: Wed, 30 Oct 2019 14:16:05 +0100 In-Reply-To: (Andreas Schwab's message of "Wed, 30 Oct 2019 14:06:24 +0100") Message-ID: <87imo6v0fe.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.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 @@CONTACT_ADDRESS@@ for details. Content preview: Andreas Schwab writes: >> But apparently on other systems it's a lower case S? > > If you have a lower case s then it covers the x. Ah, thanks. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 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 (-) Andreas Schwab writes: >> But apparently on other systems it's a lower case S? > > If you have a lower case s then it covers the x. Ah, thanks. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no