[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#8186: dired-font-lock-keywords should warn about SUID files too!
From: |
Lars Ingebrigtsen |
Subject: |
bug#8186: dired-font-lock-keywords should warn about SUID files too! |
Date: |
Wed, 30 Oct 2019 13:31:54 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Juri Linkov <juri@linkov.net> 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