From owner-freebsd-questions@FreeBSD.ORG Wed Sep 16 20:47:24 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E82941065672 for ; Wed, 16 Sep 2009 20:47:22 +0000 (UTC) (envelope-from leandro.magnabosco@fcdl-sc.org.br) Received: from mail.cdl-sc.org.br (mail.cdl-sc.org.br [189.39.224.30]) by mx1.freebsd.org (Postfix) with ESMTP id B957C8FC0A for ; Wed, 16 Sep 2009 20:47:21 +0000 (UTC) Received: from [127.0.0.1] (unknown [192.168.200.189]) by mail.cdl-sc.org.br (Postfix) with ESMTP id B6942637B2; Wed, 16 Sep 2009 17:16:09 -0300 (BRT) Message-ID: <4AB14798.2000204@fcdl-sc.org.br> Date: Wed, 16 Sep 2009 17:16:24 -0300 From: Leandro Quibem Magnabosco Organization: FCDL/SC User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) To: Artis Caune References: <9e20d71e0909161221i432edd65s9dac7e0da7c2fdc9@mail.gmail.com> <4AB13CF0.2060508@infracaninophile.co.uk> <9e20d71e0909161242l56aaeecdy51a42f08906cf8ff@mail.gmail.com> In-Reply-To: <9e20d71e0909161242l56aaeecdy51a42f08906cf8ff@mail.gmail.com> Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: /tmp sticky bit differences on FreeBSD 8 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: Wed, 16 Sep 2009 20:47:25 -0000 Artis Caune escreveu: 2009/9/16 Matthew Seaman [1]: On FreeBSD 6,7 files are created with wheel group, but on 8 - with `gid`. It seems that ZFS uses SysV group semantics (new files get the 1ary group of the user unless the directory is set to SGID). UFS filesystems on 8.x still behave in the expected BSD way (new files get the same group as the directory unless the user is not a member of that group, when they get the users' 1ary group). There's a thread 'ZFS Group ownership' on this topic in freebsd-hackers@... at the moment. hmm, I use ZFS on FreeBSD 7, but still get wheel group and not egid. Maybe you did a chmod g+s dir... Check that, maaaaybe it has something to do to what's happening to you. Otherwise, it might be something implemented only on v7. Leandro Magnabosco. References 1. mailto:m.seaman@infracaninophile.co.uk