]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
doc: clarify which ls color attributes don't apply to dirs
authorPádraig Brady <P@draigBrady.com>
Sat, 3 Aug 2024 11:35:26 +0000 (12:35 +0100)
committerPádraig Brady <P@draigBrady.com>
Sun, 4 Aug 2024 09:58:31 +0000 (10:58 +0100)
* src/dircolors.hin: Clarify that SETUID, SETGID, CAPABILITY, and EXEC
coloring, only apply to regular files.

src/dircolors.hin

index 58297e8bb2f5e9808c296206d4204566cefa3439..833609fb20c0a638a913e5b9ac4a5fb42e46c798 100644 (file)
@@ -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
 
 # ===================================================================