GNU bug report logs - #8186
dired-font-lock-keywords should warn about SUID files too!

Previous Next

Package: emacs;

Reported by: jidanni <at> jidanni.org

Date: Sun, 6 Mar 2011 09:29:02 UTC

Severity: wishlist

Tags: fixed

Fixed in version 27.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #24 received at 8186 <at> debbugs.gnu.org (full text, mbox):

From: Juri Linkov <juri <at> linkov.net>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 8186 <at> debbugs.gnu.org, jidanni <at> jidanni.org
Subject: Re: bug#8186: dired-font-lock-keywords should warn about SUID files
 too!
Date: Sun, 27 Oct 2019 23:28:52 +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?




This bug report was last modified 5 years and 206 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.