unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@linkov.net>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 8186@debbugs.gnu.org, jidanni@jidanni.org
Subject: bug#8186: dired-font-lock-keywords should warn about SUID files too!
Date: Sun, 27 Oct 2019 23:28:52 +0200	[thread overview]
Message-ID: <87tv7u87oj.fsf@mail.linkov.net> (raw)
In-Reply-To: <87a7a4t8mn.fsf@gnus.org> (Lars Ingebrigtsen's message of "Mon, 14 Oct 2019 03:32:00 +0200")

>> 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?





  reply	other threads:[~2019-10-27 21:28 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-06  5:12 bug#8186: dired-font-lock-keywords should warn about SUID files too! jidanni
2011-03-06 18:15 ` Drew Adams
2011-03-06 21:23 ` jidanni
2011-03-06 21:45   ` Drew Adams
2019-10-14  1:32 ` Lars Ingebrigtsen
2019-10-27 21:28   ` Juri Linkov [this message]
2019-10-28 11:18     ` Lars Ingebrigtsen
2019-10-28 14:23       ` Drew Adams
2019-10-30 12:31     ` Lars Ingebrigtsen
2019-10-30 13:06       ` Andreas Schwab
2019-10-30 13:16         ` Lars Ingebrigtsen
2019-10-30 13:09       ` Peder O. Klingenberg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87tv7u87oj.fsf@mail.linkov.net \
    --to=juri@linkov.net \
    --cc=8186@debbugs.gnu.org \
    --cc=jidanni@jidanni.org \
    --cc=larsi@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).