diff options
author | iedowse <iedowse@FreeBSD.org> | 2002-01-22 22:54:52 +0000 |
---|---|---|
committer | iedowse <iedowse@FreeBSD.org> | 2002-01-22 22:54:52 +0000 |
commit | 388c7f4272f68ebbfc45db8da9ef09528d8d6b90 (patch) | |
tree | ba33f49bc224de3fe69f8df2b33b4c12363a9425 /usr.sbin/config | |
parent | 8a9a43ad04f6a60f7ff87931188f94aa821569bf (diff) | |
download | FreeBSD-src-388c7f4272f68ebbfc45db8da9ef09528d8d6b90.zip FreeBSD-src-388c7f4272f68ebbfc45db8da9ef09528d8d6b90.tar.gz |
The mode of files created by ctm_rmail was always 0600, even if the
umask was less restrictive. This was caused by the use of mkstemp()
which internally passes a mode of 0600 to open(). Fix this by
explicitly chmod'ing the files to (0666 & ~umask).
PR: bin/16119
Submitted by: Sascha Blank <blank@uni-trier.de>
Diffstat (limited to 'usr.sbin/config')
0 files changed, 0 insertions, 0 deletions