From owner-freebsd-bugs@FreeBSD.ORG Mon Mar 18 21:30:01 2013 Return-Path: Delivered-To: freebsd-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id B49F2676 for ; Mon, 18 Mar 2013 21:30:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id A7311CDF for ; Mon, 18 Mar 2013 21:30:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r2ILU10C020431 for ; Mon, 18 Mar 2013 21:30:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r2ILU1hh020430; Mon, 18 Mar 2013 21:30:01 GMT (envelope-from gnats) Date: Mon, 18 Mar 2013 21:30:01 GMT Message-Id: <201303182130.r2ILU1hh020430@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Lowell Gilbert Subject: Re: kern/177087: Wrong gid on file creations X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Lowell Gilbert List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Mar 2013 21:30:01 -0000 The following reply was made to PR kern/177087; it has been noted by GNATS. From: Lowell Gilbert To: Tuc Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: kern/177087: Wrong gid on file creations Date: Mon, 18 Mar 2013 17:24:14 -0400 Tuc writes: >>How-To-Repeat: > $ cd /tmp > $ touch foo > $ ls -l foo > -rw-r--r-- 1 tuc wheel 0 Mar 18 20:36 foo > $ grep tuc /etc/passwd > tuc:*:1001:1001:Tuc:/home/tuc:/bin/sh > $ id > uid=1001(tuc) gid=1001(tuc) groups=1001(tuc),0(wheel) > $ cd /var/tmp > $ touch foo > $ ls -l foo > -rw-r--r-- 1 tuc wheel 0 Mar 18 20:37 foo > > root@e-nfs-01:/root # mkdir /foo > root@e-nfs-01:/root # chmod 777 /foo > root@e-nfs-01:/root # exit > logout > $ cd /foo > $ touch foo > $ ls -l foo > -rw-r--r-- 1 tuc wheel 0 Mar 18 20:39 foo What group were you expecting? Those directories normally belong to the wheel group, so new subdirectories will be too.