Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Jan 2002 14:54:52 -0800 (PST)
From:      Ian Dowse <iedowse@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/usr.sbin/ctm/ctm_rmail ctm_rmail.c
Message-ID:  <200201222254.g0MMsqg19740@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
iedowse     2002/01/22 14:54:52 PST

  Modified files:
    usr.sbin/ctm/ctm_rmail ctm_rmail.c 
  Log:
  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>
  
  Revision  Changes    Path
  1.17      +7 -1      src/usr.sbin/ctm/ctm_rmail/ctm_rmail.c

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200201222254.g0MMsqg19740>