From owner-freebsd-questions@FreeBSD.ORG Wed May 11 18:56:24 2005 Return-Path: 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 1CD7916A4CE for ; Wed, 11 May 2005 18:56:24 +0000 (GMT) Received: from probity.mcc.ac.uk (probity.mcc.ac.uk [130.88.200.94]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9AC5743D60 for ; Wed, 11 May 2005 18:56:21 +0000 (GMT) (envelope-from lewiz@compsoc.man.ac.uk) Received: from xeon.compsoc.man.ac.uk ([192.84.78.1] helo=noisy.compsoc.man.ac.uk) by probity.mcc.ac.uk with esmtp (Exim 4.43 (FreeBSD)) id 1DVwNY-0004Vb-LE; Wed, 11 May 2005 19:56:20 +0100 Received: from noisy.compsoc.man.ac.uk (localhost [127.0.0.1]) j4BIuKxj092558; Wed, 11 May 2005 19:56:20 +0100 (BST) (envelope-from lewiz@noisy.compsoc.man.ac.uk) Received: (from lewiz@localhost) by noisy.compsoc.man.ac.uk (8.13.1/8.13.1/Submit) id j4BIuKo1092557; Wed, 11 May 2005 19:56:20 +0100 (BST) (envelope-from lewiz) Date: Wed, 11 May 2005 19:56:20 +0100 From: Lewis Thompson To: Chuck Swiger Message-ID: <20050511185620.GA91019@noisy.compsoc.man.ac.uk> References: <20050511165506.GC10213@asu.edu> <428242D7.6040103@mac.com> <20050511174702.GA23222@noisy.compsoc.man.ac.uk> <42824FFA.4080603@mac.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <42824FFA.4080603@mac.com> User-Agent: Mutt/1.5.9i X-UoM: Scanned by the University Mail System. See http://www.mcc.ac.uk/cos/email/scanning for details. cc: freebsd-questions@freebsd.org Subject: Re: user owned groups X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 May 2005 18:56:24 -0000 On Wed, May 11, 2005 at 02:33:30PM -0400, Chuck Swiger wrote: > setgid on directories won't help, but maybe the behavior of the sticky bit > is what you are looking for? Is how stuff in /tmp handled OK > permission-wise for your expectations? No, I was thinking more along the lines of inheriting permissions on new files from the directory they are in, i.e. umask 22 mkdir inherit && chmod 5700 inherit (let's pretend 5 is my inherit mode) cd inherit && touch test The end result would be that test would be created 0600 (or maybe 0700 but that's not very handy). Does that make sense? Is it possible? Thanks, -Lewis Thompson. -- I was so much older then, I'm younger than that now. --Bob Dylan, 1964. -| msn:lewiz@fajita.org | jabber:lewiz@jabber.org | url:www.lewiz.org |-