diff options
author | Jim Meyering <jim@meyering.net> | 2005-09-05 17:11:15 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2005-09-05 17:11:15 +0000 |
commit | 200572872f4e96e7c70db4ed7c11b3efa151eb63 (patch) | |
tree | d142a5a32e74f7ee7f221482d9579c58d29676d1 | |
parent | 22322e0d9b6c7c09cc2ee8fe0c23f635a6f10b07 (diff) | |
download | coreutils-200572872f4e96e7c70db4ed7c11b3efa151eb63.tar.xz |
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.
-rw-r--r-- | src/dircolors.c | 4 |
1 files changed, 3 insertions, 1 deletions
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[] = |