diff options
author | Jim Meyering <jim@meyering.net> | 2005-12-19 18:18:03 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2005-12-19 18:18:03 +0000 |
commit | fa6cfcb9ce13b810d8dc88a7b562927636ecaa30 (patch) | |
tree | 1fecf2f5fe85bd7faa7806d3a64a7901a849fcc5 /lib/asprintf.c | |
parent | 52893ffd2a3ff896e0b51f3f35bca191b71a47d4 (diff) | |
download | coreutils-fa6cfcb9ce13b810d8dc88a7b562927636ecaa30.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
mknod call uses a mode including at least owner-read access.
(main): When `-m MODE' is specified, exit nonzero if
the subsequent chown (or equivalent open,fchown,close) fails.
Diffstat (limited to 'lib/asprintf.c')
0 files changed, 0 insertions, 0 deletions