From owner-freebsd-hackers@FreeBSD.ORG Wed Sep 16 15:15:50 2009 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D927710656A3 for ; Wed, 16 Sep 2009 15:15:50 +0000 (UTC) (envelope-from auryn@zirakzigil.org) Received: from mail.giulioferro.it (mail.giulioferro.it [85.18.102.52]) by mx1.freebsd.org (Postfix) with ESMTP id 91C0C8FC17 for ; Wed, 16 Sep 2009 15:15:50 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.giulioferro.it (Postfix) with ESMTP id C1DA233CA6; Wed, 16 Sep 2009 16:53:12 +0200 (CEST) X-Virus-Scanned: amavisd-new at giulioferro.it Received: from mail.giulioferro.it ([127.0.0.1]) by localhost (aurynwork1sv1.giulioferro.it [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sJa+guJuUbeJ; Wed, 16 Sep 2009 16:53:10 +0200 (CEST) Received: from aurynmob2.giulioferro.it (localhost [127.0.0.1]) (Authenticated sender: gferro@giulioferro.it) by mail.giulioferro.it (Postfix) with ESMTP id 14FE933C2B; Wed, 16 Sep 2009 16:53:10 +0200 (CEST) Message-ID: <4AB0FC8A.3090604@zirakzigil.org> Date: Wed, 16 Sep 2009 16:56:10 +0200 From: Giulio Ferro User-Agent: Thunderbird 2.0.0.21 (X11/20090323) MIME-Version: 1.0 To: Adrian Penisoara References: <4AAB8AD0.5010302@zirakzigil.org> <78cb3d3f0909160336m2d1f93dsad4aafb692395a80@mail.gmail.com> In-Reply-To: <78cb3d3f0909160336m2d1f93dsad4aafb692395a80@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org, Nate Eldredge Subject: Re: ZFS group ownership X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Sep 2009 15:15:50 -0000 Adrian Penisoara wrote: > Is the ownership of the new file decided by the open() syscall or by > the filesystem layer ? > On a superficial lookup through the sources it appears a filesystem > layer choice... > > Which of the following would then be the best option (also taking POLA > into account): > * leave things are they are > * make ZFS under FreeBSD behave the way open(2) describes > * have a new ZFS property govern the behavior and default to one of the above > > Thanks, > Adrian Penisoara > EnterpriseBSD > Thanks all for answering (sorry for the multiple posts, I was tuning my mail server) I believe that on a same freebsd there should be a consistent behavior among different mounts. So in my opinion ZFS should conform to UFS (or UFS to ZFS, if that's desirable). The best thing would be to have a sysctl tunable to choose that (sysv5 / bsd). BSD should be default, since it makes more sense for workgroups...