]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
doc: fix typo in chmod example
authorPádraig Brady <P@draigBrady.com>
Sun, 3 May 2026 09:39:45 +0000 (10:39 +0100)
committerPádraig Brady <P@draigBrady.com>
Sun, 3 May 2026 09:40:31 +0000 (10:40 +0100)
* doc/coreutils.texi (chmod invocation): s/file/foo/ to match comment,
and previous example.

doc/coreutils.texi

index 26d405b0b59575deb6d899d32ecf544598120b2d..a37b63388e58f98595af1553d522e9a938dad0a3 100644 (file)
@@ -11641,8 +11641,8 @@ chmod 644 foo
 chmod a=r,u+w foo
 
 # Add user and group execute permissions to FOO.
-chmod +110 file
-chmod ug+x file
+chmod +110 foo
+chmod ug+x foo
 
 # Set file permissions of DIR and subsidiary files to
 # be the umask default, assuming execute permissions for