Date: Thu, 27 Aug 2009 12:30:43 +0300 From: "Reko Turja" <reko.turja@liukuma.net> To: "John W" <jwdevel@gmail.com>, <freebsd-questions@freebsd.org> Subject: Re: Can anyone reproduce this Samba problem? Message-ID: <6DFAF6A1805D48FABE793388572490D5@rivendell> In-Reply-To: <fa8771800908262154m41a48d83o2cb563c279e3449e@mail.gmail.com> References: <fa8771800908262154m41a48d83o2cb563c279e3449e@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> Interestingly, if I turn off 'inherit permissions', then 'inherit > owner' DOES take effect correctly. However, that means the sticky=20 > bit > does not get inherited, which will not work for me. I need both to=20 > be > inherited, and for some reason they are behaving mutually-exclusive > (with 'inherit permissions' taking precedence). If I understood your problem correctly, you don't actually want to set=20 sticky bit on the root directory, but suid - so the chmod would be=20 like chmod 4xxx mydir In FreeBSD suid-bitted directory will make all the subdirs to inherit=20 the owner. Sticky bit causes bit different behaviour - see sticky (8) and=20 chmod(1) -Reko=20
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6DFAF6A1805D48FABE793388572490D5>