summaryrefslogtreecommitdiff
path: root/lib/makepath.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-04-27 06:46:13 +0000
committerJim Meyering <jim@meyering.net>2000-04-27 06:46:13 +0000
commita3029aba6bf7d16ad3f708960f8f961ee88183ee (patch)
treefb280350ff11504690f652dd56adcb37ea68786c /lib/makepath.c
parent56b185d9b3dab0a9c88b6b7a433e58f7ca9be33f (diff)
downloadcoreutils-a3029aba6bf7d16ad3f708960f8f961ee88183ee.tar.xz
tweak comment
Diffstat (limited to 'lib/makepath.c')
-rw-r--r--lib/makepath.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/makepath.c b/lib/makepath.c
index ea1b40731..9763b4c04 100644
--- a/lib/makepath.c
+++ b/lib/makepath.c
@@ -389,7 +389,8 @@ make_path (const char *argpath,
/* The above chown may have turned off some permission bits in MODE.
Another reason we may have to use chmod here is that mkdir(2) is
required to honor only the file permission bits. In particular,
- it may not have honored the `special' bits. */
+ it need not honor the `special' bits, so if MODE includes any
+ special bits, set them here. */
if ((mode & ~S_IRWXUGO)
&& chmod (basename_dir, mode))
{