From owner-freebsd-questions@FreeBSD.ORG Mon May 23 14:38:49 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 0F97C16A41C for ; Mon, 23 May 2005 14:38:49 +0000 (GMT) (envelope-from tshadwick@goinet.com) Received: from mail.goinet.com (mail.goinet.com [208.207.72.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id AF4D343D1F for ; Mon, 23 May 2005 14:38:48 +0000 (GMT) (envelope-from tshadwick@goinet.com) Received: from mail.goinet.com (localhost.goinet.com [127.0.0.1]) by mail.goinet.com (8.13.1/8.13.1) with ESMTP id j4NEcier073478; Mon, 23 May 2005 09:38:44 -0500 (CDT) (envelope-from tshadwick@goinet.com) Received: from localhost (tshadwick@localhost) by mail.goinet.com (8.13.1/8.13.1/Submit) with ESMTP id j4NEchmG073474; Mon, 23 May 2005 09:38:43 -0500 (CDT) (envelope-from tshadwick@goinet.com) X-Authentication-Warning: mail.goinet.com: tshadwick owned process doing -bs Date: Mon, 23 May 2005 09:38:43 -0500 (CDT) From: Tony Shadwick To: FreeBSD In-Reply-To: <44wtpq13lu.fsf@be-well.ilk.org> Message-ID: <20050523093759.M47072@mail.goinet.com> References: <42900CC6.4090701@ctzen.com> <44wtpq13lu.fsf@be-well.ilk.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: ClamAV version 0.85.1, clamav-milter version 0.85 on mail.goinet.com X-Virus-Status: Clean Cc: cs Subject: Re: Is this possible ? inherit group permissions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 May 2005 14:38:49 -0000 I'll have to remember that one. So if /home is a filesystem unto itself, if you set the suid bit on /home, all further creation beneath it will inherit the permissions you set above? On Mon, 23 May 2005, Lowell Gilbert wrote: > cs writes: > >> 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. > > If you set the suid bit, both owner *and* group will be set. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >