From owner-freebsd-security Sat Mar 23 18: 5:12 2002 Delivered-To: freebsd-security@freebsd.org Received: from rwcrmhc53.attbi.com (rwcrmhc53.attbi.com [204.127.198.39]) by hub.freebsd.org (Postfix) with ESMTP id B32F337B400 for ; Sat, 23 Mar 2002 18:05:09 -0800 (PST) Received: from blossom.cjclark.org ([12.234.91.48]) by rwcrmhc53.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020324020509.IHLL2951.rwcrmhc53.attbi.com@blossom.cjclark.org>; Sun, 24 Mar 2002 02:05:09 +0000 Received: (from cjc@localhost) by blossom.cjclark.org (8.11.6/8.11.6) id g2O258Q69751; Sat, 23 Mar 2002 18:05:08 -0800 (PST) (envelope-from cjc) Date: Sat, 23 Mar 2002 18:05:07 -0800 From: "Crist J. Clark" To: Bjoern Engels Cc: Steve Shorter , security@FreeBSD.ORG Subject: Re: strange behaviour on /tmp Message-ID: <20020323180507.D48968@blossom.cjclark.org> References: <20020323214535.Y212-100000@phoenix.vh.laserfence.net> <20020323173331.A76680@nomad.lets.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from bjoern.engels@mail.isis.de on Sun, Mar 24, 2002 at 12:13:53AM +0100 X-URL: http://people.freebsd.org/~cjc/ Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sun, Mar 24, 2002 at 12:13:53AM +0100, Bjoern Engels wrote: [snip] > Wow. I am pretty perplexed now, I didn't know that. I thought > FreeBSD permissions / ownership would behave like those in Linux. Nope. FreeBSD, not too surprisingly, assigns the group ownership according to the old BSD model. Linux has a SysV-ish behavior. Note SysVs have newgrp(1) and some other commands related to this behavior and BSDs do not. This thread comes up every few weeks or months on -questions, -security, or when someone files a PR mistakenly believing it is a bug. -- Crist J. Clark | cjclark@alum.mit.edu | cjclark@jhu.edu http://people.freebsd.org/~cjc/ | cjc@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message