From bd30058179f47fa232a8ef6d8d4b451374f89893 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 5 Sep 2005 17:11:39 +0000 Subject: [PATCH] Colorize set-user-ID and set-group-ID files and sticky, other-writable, and sticky-and-other-writable directories. Document the default colors for the new strings. From Mike Frysinger, based on a patch from Fedora. --- src/dircolors.hin | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/dircolors.hin b/src/dircolors.hin index 8ee8c69..18498d5 100644 --- a/src/dircolors.hin +++ b/src/dircolors.hin @@ -51,6 +51,11 @@ DOOR 01;35 # door BLK 40;33;01 # block device driver CHR 40;33;01 # character device driver ORPHAN 40;31;01 # symlink to nonexistent file +SETUID 37;41 # file that is setuid (u+s) +SETGID 30;43 # file that is setgid (g+s) +STICKY_OTHER_WRITABLE 30;42 # dir that is sticky and other-writable (+t,o+w) +OTHER_WRITABLE 34;42 # dir that is other-writable (o+w) and not sticky +STICKY 37;44 # dir with the sticky bit set (+t) and not other-writable # This is for files with execute permission: EXEC 01;32 -- 2.7.4