From 200572872f4e96e7c70db4ed7c11b3efa151eb63 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 5 Sep 2005 17:11:15 +0000 Subject: Colorize set-user-ID and set-group-ID files and sticky, other-writable, and sticky-and-other-writable directories. (slack_codes): Add new dircolors mode names. (ls_codes): Add corresponding two-letter ls mode strings. From Mike Frysinger, based on a patch from Fedora. --- src/dircolors.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/dircolors.c b/src/dircolors.c index 02d82bf89..b73f9252b 100644 --- a/src/dircolors.c +++ b/src/dircolors.c @@ -67,13 +67,15 @@ static const char *const slack_codes[] = "NORMAL", "NORM", "FILE", "DIR", "LNK", "LINK", "SYMLINK", "ORPHAN", "MISSING", "FIFO", "PIPE", "SOCK", "BLK", "BLOCK", "CHR", "CHAR", "DOOR", "EXEC", "LEFT", "LEFTCODE", "RIGHT", "RIGHTCODE", - "END", "ENDCODE", NULL + "END", "ENDCODE", "SUID", "SETUID", "SGID", "SETGID", "STICKY", + "OTHER_WRITABLE", "OWR", "STICKY_OTHER_WRITABLE", "OWT", NULL }; static const char *const ls_codes[] = { "no", "no", "fi", "di", "ln", "ln", "ln", "or", "mi", "pi", "pi", "so", "bd", "bd", "cd", "cd", "do", "ex", "lc", "lc", "rc", "rc", "ec", "ec" + "su", "su", "sg", "sg", "st", "ow", "ow", "tw", "tw", NULL }; static struct option const long_options[] = -- cgit v1.2.3-54-g00ecf