Subject: Re: bug#8186: dired-font-lock-keywords should warn about SUID files too!

From: Lars Ingebrigtsen <[email-masked]>
Date: Wed, 30 Oct 2019 13:31:54 +0100

Juri Linkov <[email-masked]> 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