Date: Thu, 25 Jan 2001 10:54:13 -0800 From: Julian Elischer <julian@elischer.org> To: Doug White <dwhite@resnet.uoregon.edu> Cc: Dave Walton <walton@onlinemusic.com>, freebsd-fs@FreeBSD.ORG Subject: Re: suiddir and samba Message-ID: <3A707655.47313E21@elischer.org> References: <Pine.BSF.4.21.0101242319270.25771-100000@resnet.uoregon.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
Doug White wrote:
>
> 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.
SUIDDIR doe NOT inherot perms, justy "owner" (so that owner acts
the same as '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.
SUIDIR propogates it..
>
> 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
--
__--_|\ Julian Elischer
/ \ julian@elischer.org
( OZ ) World tour 2000
---> X_.---._/ from Perth, presently in: Budapest
v
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-fs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A707655.47313E21>
