[PATCH] doc: clarify which ls color attributes don't apply to dirs
From:
Pádraig Brady
Subject:
[PATCH] doc: clarify which ls color attributes don't apply to dirs
Date:
Sat, 3 Aug 2024 12:50:07 +0100
* src/dircolors.hin: Clarify that SETUID, SETGID, CAPABILITY, and EXEC
coloring, only apply to regular files.
---
src/dircolors.hin | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/dircolors.hin b/src/dircolors.hin
index 58297e8bb..833609fb2 100644
--- a/src/dircolors.hin
+++ b/src/dircolors.hin
@@ -70,14 +70,14 @@ BLK 40;33;01 # block device driver
CHR 40;33;01 # character device driver
ORPHAN 40;31;01 # symlink to nonexistent file, or non-stat'able file ...
MISSING 00 # ... and the files they point to
-SETUID 37;41 # file that is setuid (u+s)
-SETGID 30;43 # file that is setgid (g+s)
-CAPABILITY 00 # file with capability (very expensive to lookup)
+SETUID 37;41 # regular file that is setuid (u+s)
+SETGID 30;43 # regular file that is setgid (g+s)
+CAPABILITY 00 # regular file with capability (very expensive to lookup)
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:
+# This is for regular files with execute permission:
EXEC 01;32
# ===================================================================
--
2.45.2
[Prev in Thread]
Current Thread
[Next in Thread]
[PATCH] doc: clarify which ls color attributes don't apply to dirs,
Pádraig Brady<=