summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2005-12-19 18:17:16 +0000
committerJim Meyering <jim@meyering.net>2005-12-19 18:17:16 +0000
commit52893ffd2a3ff896e0b51f3f35bca191b71a47d4 (patch)
treef140fffccb0c62565fbacdf2e353d212c6cc9134 /lib
parent17f521adfdd3b415f68fc30b61eb115c1e379a79 (diff)
downloadcoreutils-52893ffd2a3ff896e0b51f3f35bca191b71a47d4.tar.xz
(main) Avoid a minor race condition when `-m MODE' is specified, by using
open, fchown, and close rather than just chown. To do that reliably (even with an overly restrictive umask), ensure that each mkdir call uses a mode including at least owner-read access.
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions