From owner-freebsd-questions Thu Feb 20 7:14:51 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BE65E37B401 for ; Thu, 20 Feb 2003 07:14:49 -0800 (PST) Received: from rhadamanth.submonkey.net (pc1-cdif2-5-cust240.cdif.cable.ntl.com [81.101.150.240]) by mx1.FreeBSD.org (Postfix) with ESMTP id 974BD43FAF for ; Thu, 20 Feb 2003 07:14:47 -0800 (PST) (envelope-from setantae@submonkey.net) Received: from setantae by rhadamanth.submonkey.net with local (Exim 4.12) id 18lsPI-00015O-00; Thu, 20 Feb 2003 15:14:40 +0000 Date: Thu, 20 Feb 2003 15:14:40 +0000 From: Ceri Davies To: Daniel Bye Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Wrong group on touch Message-ID: <20030220151440.GB3285@submonkey.net> Mail-Followup-To: Ceri Davies , Daniel Bye , freebsd-questions@FreeBSD.ORG References: <200302201437.h1KEbAa1000536@himinbjorg.ttsg.com> <20030220150128.GC40831@devil.stderror.at> <20030220151118.GA77633@catflap.home.slightlystrange.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030220151118.GA77633@catflap.home.slightlystrange.org> User-Agent: Mutt/1.5.3i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Feb 20, 2003 at 03:11:18PM +0000, Daniel Bye wrote: > On Thu, Feb 20, 2003 at 04:01:28PM +0100, Toni Schmidbauer wrote: > > On Thu, Feb 20, 2003 at 09:37:10AM -0500, Tuc wrote: > > > -rw-r--r-- 1 tuc wheel 0 Feb 20 09:35 /tmp/tuc > > > > pinhead@aeolus [/tmp] $ ls -ld /tmp/ > > drwxrwxrwt 14 root wheel 1536 Feb 20 15:57 /tmp// > > > > the sticky bit set for /tmp. thats the reason why all files have > > gid wheel. > > Really? I thought setting the sgid bit on a directory caused this > behaviour... On Solaris, yes. On BSD, no. New files take on the same group ownership as the directory they are in. Ceri -- User: DO YOU ACCEPT JESUS CHRIST AS YOUR PERSONAL LORD AND SAVIOR? Iniaes: Sure, I can accept all forms of payment. -- www.chatterboxchallenge.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message