From owner-freebsd-questions@FreeBSD.ORG Tue Oct 24 16:22:08 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 775F016A40F for ; Tue, 24 Oct 2006 16:22:08 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from smtpout.mac.com (smtpout.mac.com [17.250.248.186]) by mx1.FreeBSD.org (Postfix) with ESMTP id D0FA043D76 for ; Tue, 24 Oct 2006 16:22:06 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from mac.com (smtpin05-en2 [10.13.10.150]) by smtpout.mac.com (Xserve/8.12.11/smtpout16/MantshX 4.0) with ESMTP id k9OGLulH015501; Tue, 24 Oct 2006 09:21:57 -0700 (PDT) Received: from [17.214.13.96] (a17-214-13-96.apple.com [17.214.13.96]) (authenticated bits=0) by mac.com (Xserve/smtpin05/MantshX 4.0) with ESMTP id k9OGLq4U020010; Tue, 24 Oct 2006 09:21:55 -0700 (PDT) In-Reply-To: <20061024083207.GA2910@schottelius.org> References: <20061018141753.GA12559@schottelius.org> <45372B7C.9010201@aleborg.se> <20061023113333.GA22430@schottelius.org> <20061023194301.I96174@chylonia.3miasto.net> <20061024083207.GA2910@schottelius.org> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <04240A60-27E8-4064-A80D-83731E345DF0@mac.com> Content-Transfer-Encoding: 7bit From: Chuck Swiger Date: Tue, 24 Oct 2006 09:21:51 -0700 To: Nico -telmich- Schottelius X-Mailer: Apple Mail (2.752.2) X-Brightmail-Tracker: AAAAAA== X-Brightmail-scanned: yes Cc: Wojciech Puchar , freebsd-questions@freebsd.org, Patrik Jansson Subject: Re: ACL: Default and other problems 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, 24 Oct 2006 16:22:08 -0000 On Oct 24, 2006, at 1:32 AM, Nico -telmich- Schottelius wrote: > Situation: > - git running on fbsd 5.3. > - 4 people work on the same project > - git is used over ssh (aka git+ssh://) > - when new objects are created, they belong to the creating user > - normal umask is 077 (we are all paranoid) > > We want that every newly created file and directory is modifyable > by any user of the 'git' group. Have git be setgid to this git group and call umask() to 027. Or write a trivial shell-script wrapper to reset the umask, if you want to do it that way. > Now I am interested on how you would solve this problem with standard > Unix-Ids without using external tools (like callin chown/chgrp/chmod > each update). This constraint makes the problem impossible to solve. Either you are interested in the impossible, or you aren't really looking to solve the problem using standard Unix mechanisms... -- -Chuck