From owner-freebsd-hackers@FreeBSD.ORG Sat Aug 13 23:12:07 2005 Return-Path: X-Original-To: hackers@freebsd.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 86B4916A41F for ; Sat, 13 Aug 2005 23:12:07 +0000 (GMT) (envelope-from gjb@gbch.net) Received: from gw.gbch.net (gw.gbch.net [203.143.238.93]) by mx1.FreeBSD.org (Postfix) with SMTP id 6B78F43D49 for ; Sat, 13 Aug 2005 23:12:04 +0000 (GMT) (envelope-from gjb@gbch.net) Received: (qmail 37164 invoked from network); 14 Aug 2005 09:11:58 +1000 Received: from gecko.gbch.net (172.16.1.7) by bambi.gbch.net with SMTP; 14 Aug 2005 09:11:58 +1000 Received: (qmail 18306 invoked by uid 1001); 14 Aug 2005 09:11:57 +1000 Message-ID: Date: Sun, 14 Aug 2005 09:11:57 +1000 From: Greg Black To: =?unknown-8bit?Q?Jo=E3o_Carlos_Mendes_Lu=EDs?= References: <42FD15EA.8050500@jonny.eng.br> <20050812233728.GA22225@odin.ac.hmc.edu> <42FE1781.9050403@jonny.eng.br> Mime-Version: 1.0 Content-Type: text/plain; charset=unknown-8bit Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <42FE1781.9050403@jonny.eng.br> User-Agent: Mutt/1.4.2.1i; gjb-muttsend.sh 1.7 2004-10-05 X-Uptime: 175 days X-Operating-System: FreeBSD 4.10-RELEASE i386 X-Location: Brisbane, Australia; 27.49841S 152.98439E X-URL: http://www.gbch.net/gjb.html X-Blog: http://www.gbch.net/gjb/blog/ X-Image-URL: http://www.gbch.net/gjb/gjb-auug048.gif X-PGP-Key-Fingerprint: EBB2 2A92 A79D 1533 AC00 3C46 5D83 B6FB 4B04 B7D6 X-Request-PGP: http://www.gbch.net/keys/4B04B7D6.asc Cc: hackers@freebsd.org Subject: Re: File create permissions, what am I missing? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Aug 2005 23:12:07 -0000 On 2005-08-13, João Carlos Mendes Luís wrote: > Brooks Davis wrote: > > On BSD systems, the group of a file is always the group of the directory > > it is in. This differs from SysV UNIX. The resident grey-beard at work > > feels this is a new and annoying behavior. (i.e. it wasn't always this > > way. :) > > So this is expected behavior? Isn't this someway insecure? It is documented behaviour (see open(2) for details). How is it insecure? Greg