From owner-freebsd-doc Mon Mar 19 7: 9:43 2001 Delivered-To: freebsd-doc@freebsd.org Received: from khan.acc.umu.se (khan.acc.umu.se [130.239.18.139]) by hub.freebsd.org (Postfix) with ESMTP id 4CAC637B718 for ; Mon, 19 Mar 2001 07:09:40 -0800 (PST) (envelope-from markush@acc.umu.se) Received: from mao.acc.umu.se (root@mao.acc.umu.se [130.239.18.154]) by khan.acc.umu.se (8.11.2/8.11.2) with ESMTP id f2JF9cS07289; Mon, 19 Mar 2001 16:09:38 +0100 (MET) Received: (from markush@localhost) by mao.acc.umu.se (8.9.3/8.9.3/Debian 8.9.3-21) id QAA11283; Mon, 19 Mar 2001 16:09:33 +0100 Date: Mon, 19 Mar 2001 16:09:33 +0100 From: Markus Holmberg To: Neil Blakey-Milner Cc: freebsd-doc@freebsd.org Subject: Re: chmod(1) regarding 0200 directoris Message-ID: <20010319160933.A10952@acc.umu.se> References: <20010319144347.A550@acc.umu.se> <20010319160151.A88130@rapier.smartspace.co.za> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3-current-20000511i In-Reply-To: <20010319160151.A88130@rapier.smartspace.co.za>; from nbm@mithrandr.moria.org on Mon, Mar 19, 2001 at 04:01:52PM +0200 Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Sorry, I wrote that mail in a rush. I tried it fast (but obviously I must've had an shell open on something else than FreeBSD.. what an bad excuse :)) after noticing that Linux required 2000.. Thanks / Markus On Mon, Mar 19, 2001 at 04:01:52PM +0200, Neil Blakey-Milner wrote: > On Mon 2001-03-19 (14:43), Markus Holmberg wrote: > > 2000 (the set-group-ID-on-execution bit) Executable files with > > this bit set will run with effective gid set to the gid of > > the file owner. Directories created in a directory with > > this bit set will have their group set to the group of > > the parent directory, instead of the XXXeffective?XXX group > > of the creator. > > The "group set to the group of the parent directory" is the default. > You don't need any bits for that. > > Neil > -- > Neil Blakey-Milner > nbm@mithrandr.moria.org -- Markus Holmberg | Give me Unix or give me a typewriter. markush@acc.umu.se | http://www.freebsd.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message