From owner-freebsd-questions Mon Jul 31 5: 2:39 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail2.netcologne.de (mail2.netcologne.de [194.8.194.103]) by hub.freebsd.org (Postfix) with ESMTP id EF22637BB6A for ; Mon, 31 Jul 2000 05:02:35 -0700 (PDT) (envelope-from pherman@frenchfries.net) Received: from bagabeedaboo.security.at12.de (dial-195-14-250-181.netcologne.de [195.14.250.181]) by mail2.netcologne.de (8.9.3/8.9.3) with ESMTP id OAA10737; Mon, 31 Jul 2000 14:02:33 +0200 (MET DST) Received: from localhost (localhost.security.at12.de [127.0.0.1]) by bagabeedaboo.security.at12.de (8.10.2/8.10.2) with ESMTP id e6VC2Em04627; Mon, 31 Jul 2000 14:02:14 +0200 (CEST) Date: Mon, 31 Jul 2000 14:02:14 +0200 (CEST) From: Paul Herman To: Sam Carleton Cc: FreeBSD Questions Subject: Re: default file permissions In-Reply-To: <39850C86.F4CC1B59@miltonstreet.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 31 Jul 2000, Sam Carleton wrote: > I need to set the default file permission from group readable to group > readable/writable for some users. What is the best way to do this > globally? Well, I'm sure you know about umask, but... > The catch... I would like to set this up only for some directories, the > directories where multipal folks are doing development. For home > directories and things I would like the defaul permission to be no > access for the users group. Is it possible to set things up this way? Short answer, I don't think so. That being said, an "ugly hack" would be to place the directory on something like an MSDOS partition, and mount it with a specific mask... did I mention that would be ugly? Even more "fun" might be to modify mount_null to have a mask option... Indeed, mount_null is broken, so I think *any* patches for it at all would be welcome. ;-) -Paul. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message