]> git.ipfire.org Git - thirdparty/coreutils.git/commit
(main) Avoid a minor race condition when `-m MODE' is specified, by using
authorJim Meyering <jim@meyering.net>
Mon, 19 Dec 2005 18:16:07 +0000 (18:16 +0000)
committerJim Meyering <jim@meyering.net>
Mon, 19 Dec 2005 18:16:07 +0000 (18:16 +0000)
commit17f521adfdd3b415f68fc30b61eb115c1e379a79
tree86ad24b847d7ac6891a23ecdfd177f43828ce27b
parente0029290b895661e32bb17ef714fb14321c15bcf
(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 mknod/mkfifo
call uses a mode including at least owner-read access.
src/mkfifo.c