[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: |
Juri Linkov |
Subject: |
bug#8186: dired-font-lock-keywords should warn about SUID files too! |
Date: |
Sun, 27 Oct 2019 23:28:52 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) |
>> 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?