From owner-freebsd-security Fri Apr 9 21:35:58 1999 Delivered-To: freebsd-security@freebsd.org Received: from lariat.lariat.org (lariat.lariat.org [206.100.185.2]) by hub.freebsd.org (Postfix) with ESMTP id 90E6714D7D for ; Fri, 9 Apr 1999 21:35:56 -0700 (PDT) (envelope-from brett@lariat.org) Received: from mustang.lariat.org (IDENT:ppp0.lariat.org@lariat.lariat.org [206.100.185.2]) by lariat.lariat.org (8.9.3/8.9.3) with ESMTP id WAA03074; Fri, 9 Apr 1999 22:33:34 -0600 (MDT) Message-Id: <4.2.0.32.19990409223014.0451c930@localhost> X-Sender: brett@localhost X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.0.32 (Beta) Date: Fri, 09 Apr 1999 22:33:33 -0600 To: Kenneth Ingham , security@FreeBSD.ORG From: Brett Glass Subject: Re: Interesting problem: chowning files sent via FTP In-Reply-To: <19990409194402.A731@socrates.i-pi.com> References: <4.2.0.32.19990409184654.045424d0@localhost> <4.2.0.32.19990409184654.045424d0@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Is this so? I was under the impression that the default group of a new file was the login group of the creator, as specified in /etc/passwd. As for the setgid-on-execution bit: there's no documentation on what it does when set on a directory. The chmod(1) man page doesn't say anything. Does it change the group ownership of newly created files? --Brett At 07:44 PM 4/9/99 -0600, Kenneth Ingham wrote: >As I remember (and I just checked this on a 2.2.8 system and it appears >to be correct), the default group owner of a file is the group owner of the >directory containing the file. > >I've seen other systems which set the setgid bit on the dir to get this >behavior. > >Kenneth To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message