Date: Mon, 04 Feb 2002 21:57:43 +1000 From: Stephen McKay <mckay@thehub.com.au> To: Ian Dowse <iedowse@FreeBSD.org> Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org, mckay@thehub.com.au Subject: Re: cvs commit: src/usr.sbin/ctm/ctm_rmail ctm_rmail.c Message-ID: <200202041157.g14BvhC06852@dungeon.home> In-Reply-To: <200201222254.g0MMsqg19740@freefall.freebsd.org> from Ian Dowse at "Tue, 22 Jan 2002 22:54:52 %2B0000" References: <200201222254.g0MMsqg19740@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday, 22nd January 2002, Ian Dowse wrote: >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). This is pretty silly. The right way to fix this is to revert back to using mktemp(). Probably revert the whole 1.14 delta. I'll put this on my TODO list. Stephen. 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?200202041157.g14BvhC06852>