[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CVS: cvs.openbsd.org: src
- To: source-changes_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org
- Subject: CVS: cvs.openbsd.org: src
- From: Henning Brauer <henning_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org>
- Date: Fri, 20 Feb 2004 04:57:17 -0700 (MST)
CVSROOT: /cvs
Module name: src
Changes by: henning_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org 2004/02/20 04:57:17
Modified files:
usr.sbin/ypbind: ypbind.c
Log message:
ypbin creates /var/yp/binding/<domainname>.<version> and /var/run/ypbind.lock
using open(2) with mode 0644 - however, these files _have_ to be world
readable, and open's mode is subject to umask.
do an explicit fchmod after open to set the mode to 0644 regardless of umask.
ok maja@ deraadt@
Visit your host, monkey.org