From owner-svn-src-head@FreeBSD.ORG Wed Mar 25 07:01:46 2009 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2297810656BA; Wed, 25 Mar 2009 07:01:46 +0000 (UTC) (envelope-from lulf@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 108938FC28; Wed, 25 Mar 2009 07:01:46 +0000 (UTC) (envelope-from lulf@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n2P71jxw068524; Wed, 25 Mar 2009 07:01:45 GMT (envelope-from lulf@svn.freebsd.org) Received: (from lulf@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n2P71j1k068523; Wed, 25 Mar 2009 07:01:45 GMT (envelope-from lulf@svn.freebsd.org) Message-Id: <200903250701.n2P71j1k068523@svn.freebsd.org> From: Ulf Lilleengen Date: Wed, 25 Mar 2009 07:01:45 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r190406 - head/contrib/csup X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Mar 2009 07:01:46 -0000 Author: lulf Date: Wed Mar 25 07:01:45 2009 New Revision: 190406 URL: http://svn.freebsd.org/changeset/base/190406 Log: - Remember to set umask before setting attributes of RCS file. Tested by: dougb MFC after: 2 days Modified: head/contrib/csup/updater.c Modified: head/contrib/csup/updater.c ============================================================================== --- head/contrib/csup/updater.c Wed Mar 25 06:27:56 2009 (r190405) +++ head/contrib/csup/updater.c Wed Mar 25 07:01:45 2009 (r190406) @@ -1661,6 +1661,7 @@ updater_rcsedit(struct updater *up, stru else lprintf(1, " Touch %s", fup->coname); /* Install new attributes. */ + fattr_umask(sr->sr_serverattr, coll->co_umask); fattr_install(sr->sr_serverattr, fup->destpath, NULL); if (fup->attic) lprintf(1, " -> Attic");