From owner-freebsd-bugs Thu Dec 21 08:32:31 1995 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id IAA16601 for bugs-outgoing; Thu, 21 Dec 1995 08:32:31 -0800 (PST) Received: from intele.net (quervo.intele.net [204.118.149.20]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id IAA16594 for ; Thu, 21 Dec 1995 08:32:28 -0800 (PST) Received: (wes@localhost) by intele.net (8.6.12/8.6.5) id JAA04210; Thu, 21 Dec 1995 09:39:53 -0700 From: Barnacle Wes Message-Id: <199512211639.JAA04210@intele.net> Subject: Re: Touch and group ig bug ??? To: rbezuide@mikom.csir.co.za (R Bezuidenhout) Date: Thu, 21 Dec 1995 09:39:52 -0700 (MST) Cc: bugs@freebsd.org In-Reply-To: <199512210857.KAA18187@zibbi.mikom.csir.co.za> from "R Bezuidenhout" at Dec 21, 95 10:57:20 am X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-bugs@freebsd.org Precedence: bulk > Why was the group of the file I touched changed to bin and not to > mikomtek, which is my default group ?? Am I missing something here? RTFM? Try 'man 2 open': [...] When a new file is created it is given the group of the directory which contains it. [...] > On a HP-UX the the file "try"'s group is also mikomtek and NOT bin. > > Was this done for security reasons ? Probably. It makes sense for directories that are used to share a project amongst several users; any file created in that directory belongs to the group. With intelligent umask settings, this can facilitate group sharing directories. Remember -- it's not wrong, it's just different -- the UNIX way! -- Wes Peters | Yes I am a pirate, two hundred years too late Softweyr | The cannons don't thunder, there's nothing to plunder Consulting | I'm an over forty victim of fate... wes@intele.net | Jimmy Buffet