From owner-freebsd-questions@FreeBSD.ORG Sun May 22 04:38:26 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 5141616A41F for ; Sun, 22 May 2005 04:38:26 +0000 (GMT) (envelope-from cs-fbsd@ctzen.com) Received: from mail.ctzen.com (mail.ctzen.com [204.11.33.123]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1D40A43D1D for ; Sun, 22 May 2005 04:38:25 +0000 (GMT) (envelope-from cs-fbsd@ctzen.com) Received: from [192.168.100.1] (dhcp-0-13-10-2c-af-22.cpe.beld.net [24.233.84.255]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.ctzen.com (Postfix) with ESMTP id 434221BAC57 for ; Sun, 22 May 2005 00:38:25 -0400 (EDT) Message-ID: <42900CC6.4090701@ctzen.com> Date: Sun, 22 May 2005 00:38:30 -0400 From: cs User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: FreeBSD Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Is this possible ? inherit group permissions 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: Sun, 22 May 2005 04:38:26 -0000 Hi, For a directory, e.g. foo/, if I chmod 775 foo/, is it possible for newly created files and directories under foo/ to automagically inherit the group permissions of foo ? e.g. touch foo/test would be rw-rw-r-- mkdir foo/sub would be rwxrwxr-x I am looking for a non umask solution. I seem to remember in debian, I was able to make the group permissions of the parent directory special for this magic to occur. I wonder if there is something similar in FBSD. Thank you. -cs