projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56b185d
)
tweak comment
author
Jim Meyering
<jim@meyering.net>
Thu, 27 Apr 2000 06:46:13 +0000
(06:46 +0000)
committer
Jim Meyering
<jim@meyering.net>
Thu, 27 Apr 2000 06:46:13 +0000
(06:46 +0000)
lib/makepath.c
patch
|
blob
|
history
diff --git
a/lib/makepath.c
b/lib/makepath.c
index
ea1b407
..
9763b4c
100644
(file)
--- 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))
{