From owner-freebsd-questions Tue Apr 25 19:16: 1 2000 Delivered-To: freebsd-questions@freebsd.org Received: from cc942873-a.ewndsr1.nj.home.com (cc942873-a.ewndsr1.nj.home.com [24.2.89.207]) by hub.freebsd.org (Postfix) with ESMTP id 6842537BB4B for ; Tue, 25 Apr 2000 19:15:56 -0700 (PDT) (envelope-from cjc@cc942873-a.ewndsr1.nj.home.com) Received: (from cjc@localhost) by cc942873-a.ewndsr1.nj.home.com (8.9.3/8.9.3) id WAA15893; Tue, 25 Apr 2000 22:15:17 -0400 (EDT) (envelope-from cjc) Date: Tue, 25 Apr 2000 22:15:17 -0400 From: "Crist J. Clark" To: Ryan Thompson Cc: freebsd-questions@FreeBSD.ORG Subject: Re: File creation using non-member group! Message-ID: <20000425221517.E13245@cc942873-a.ewndsr1.nj.home.com> Reply-To: cjclark@home.com References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: ; from ryan@sasknow.com on Tue, Apr 25, 2000 at 09:58:09AM -0600 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Apr 25, 2000 at 09:58:09AM -0600, Ryan Thompson wrote: > > Hmm... > > Just noticed that on one of my accounts the real gid of the user is not > being used in file creation The gid of the user has nothing to do with the gid of a newly created file. The gid of the file is the same as that of the directory it is in. > (non-setgid/sticky directory, of course!) Of course, since setgid is meaningless on a directory. That is how it always works. [snip] > This behaviour persists at least as far back as 3.4-STABLE, through to > yesterday's 4.0-STABLE. Yep. That is correct BSD-style behavior. -- Crist J. Clark cjclark@home.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message