From owner-freebsd-fs Wed Jan 24 23:25:44 2001 Delivered-To: freebsd-fs@freebsd.org Received: from resnet.uoregon.edu (resnet.uoregon.edu [128.223.122.47]) by hub.freebsd.org (Postfix) with ESMTP id 4ECB337B400 for ; Wed, 24 Jan 2001 23:25:27 -0800 (PST) Received: from localhost (dwhite@localhost) by resnet.uoregon.edu (8.10.1/8.10.1) with ESMTP id f0P7PMY28587; Wed, 24 Jan 2001 23:25:22 -0800 (PST) Date: Wed, 24 Jan 2001 23:25:22 -0800 (PST) From: Doug White To: Dave Walton Cc: freebsd-fs@FreeBSD.ORG Subject: Re: suiddir and samba In-Reply-To: <3A6C8BE4.3978.1756EE6@localhost> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Mon, 22 Jan 2001, Dave Walton wrote: > On 21 Jan 2001, at 23:10, Doug White wrote: > > > No, turn off suiddir and turn on inherit perms. They are mutually > > exclusive. > > They are? By my reading of the docs, inherit perms deals with the > permission bits, and suiddir deals with ownership. What am I > missing? Hm .. suiddir makes files inherits the perms AND owner/group from the parent dir. This is kinda evil as it essentially is a hardwired file giveaway, which is a BSD no-no. You should just set the dir group-writable and add all the user's to the parent dir's group. I suppose if you *really*really* want the owner to propagate, then use suiddir. Of course, unless you hack Samba the suid bit won't get set on subdirectories. Doug White | FreeBSD: The Power to Serve dwhite@resnet.uoregon.edu | www.FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message