diff options
author | Jim Meyering <jim@meyering.net> | 2000-10-31 19:25:50 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2000-10-31 19:25:50 +0000 |
commit | c8da0cbba68139e51a274039e126d443d4eababf (patch) | |
tree | 763797695f7df69a57c215de877878fa146802d1 /src/tac-pipe.c | |
parent | 575f5c2f24466f77133993f62aeef5c54f0cfefb (diff) | |
download | coreutils-c8da0cbba68139e51a274039e126d443d4eababf.tar.xz |
`mkdir -p' would create parent directories with permissions
that did not account for the umask. [introduced with the
2000-09-30 change that became part of fileutils-4.0.28]
Include dirname.h.
Compute the parent directory `mode' unconditionally, effectively
as `$(umask -S),u+wx'.
Use make_path to create only the parent directories, thus using
the same code, both with and without -p, to create the final
component in each file name. Reported by Bob Proulx.
Diffstat (limited to 'src/tac-pipe.c')
0 files changed, 0 insertions, 0 deletions