From owner-freebsd-questions@FreeBSD.ORG Tue Jan 31 03:00:17 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 762AF16A420 for ; Tue, 31 Jan 2006 03:00:17 +0000 (GMT) (envelope-from davidbryce@fastmail.fm) Received: from out4.smtp.messagingengine.com (out4.smtp.messagingengine.com [66.111.4.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1761343D45 for ; Tue, 31 Jan 2006 03:00:16 +0000 (GMT) (envelope-from davidbryce@fastmail.fm) Received: from frontend1.internal (mysql-sessions.internal [10.202.2.149]) by frontend1.messagingengine.com (Postfix) with ESMTP id 39D83D30E53 for ; Mon, 30 Jan 2006 22:00:12 -0500 (EST) Received: from web2.messagingengine.com ([10.202.2.211]) by frontend1.internal (MEProxy); Mon, 30 Jan 2006 22:00:12 -0500 Received: by web2.messagingengine.com (Postfix, from userid 99) id 6392ED822; Mon, 30 Jan 2006 21:59:59 -0500 (EST) Message-Id: <1138676399.30955.253148220@webmail.messagingengine.com> X-Sasl-Enc: K1+0UJ0lJYsALMjsYgsi+MacrWqLVi+0WDvC7rtH22jB 1138676399 From: "david bryce" To: freebsd-questions@freebsd.org Content-Disposition: inline Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="ISO-8859-1" MIME-Version: 1.0 X-Mailer: MIME::Lite 5022 (F2.73; T1.15; A1.64; B3.05; Q3.03) Date: Tue, 31 Jan 2006 13:59:59 +1100 Subject: Attention: Giorgos Keramidas (Was: CVS Import Permissions) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Jan 2006 03:00:17 -0000 > n 2006-01-30 15:52, david bryce wrote: > > Hi All, > > > > I am having some confusion regarding the way CVS works with permissions > > under unix when importing a new project. Currently, when I import a > > project, I get this sort of permissions on the project directory: > > > > drwxr-x--- 2 jim cvs 512 Jan 27 12:31 test_proj > > > > Notice that the group (cvs) is not granted write access. Is this the > > way it's supposed to work? > > That depends on what your `umask' currently is. > > > Do I have to use chmod to grant write access to the group every time I > > do an import? > > No. The correct way to fix this is to set CVSUMASK in your shell > environment, and then import the files :) Giorgos, Thanks very much for replying! I wasn't aware of this environment variable (even though I spent quite a while on this problem). Using CVSUMASK certainly works when working on the server machine! However, I'm not sure what to do in client/server situations. The CVS manual states: "Note that using the client/server CVS (see section Remote repositories), there is no good way to set CVSUMASK; the setting on the client machine has no effect." We are currently using a pserver installation, with developers using windows machines. We need a way to achieve the same effect with a user on a windows machine doing an import. Do you have any idea how this can be done? Thank you! Regards, DB -- david bryce davidbryce@fastmail.fm -- http://www.fastmail.fm - Choose from over 50 domains or use your own