From owner-freebsd-current@FreeBSD.ORG Thu Jan 17 17:03:47 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id A7BB8709 for ; Thu, 17 Jan 2013 17:03:47 +0000 (UTC) (envelope-from h.schmalzbauer@omnilan.de) Received: from host.omnilan.net (s1.omnilan.net [62.245.232.135]) by mx1.freebsd.org (Postfix) with ESMTP id 4057FF37 for ; Thu, 17 Jan 2013 17:03:46 +0000 (UTC) Received: from titan.inop.wdn.omnilan.net (titan.inop.wdn.omnilan.net [172.21.3.1]) (authenticated bits=0) by host.omnilan.net (8.13.8/8.13.8) with ESMTP id r0HH6Dp3062496 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 17 Jan 2013 18:06:13 +0100 (CET) (envelope-from h.schmalzbauer@omnilan.de) Message-ID: <50F82E61.4020601@omnilan.de> Date: Thu, 17 Jan 2013 18:01:21 +0100 From: Harald Schmalzbauer Organization: OmniLAN User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; de-DE; rv:1.9.2.8) Gecko/20100906 Lightning/1.0b2 Thunderbird/3.1.2 MIME-Version: 1.0 To: FreeBSD current Subject: patch to inherit sticky bit X-Enigmail-Version: 1.1.2 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigC9E489660CC66C058FA4279D" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jan 2013 17:03:47 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigC9E489660CC66C058FA4279D Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable Dear developers, I'm really missing the possibility to get the sticky bit inherited. I'm using zfs these days, together with nfs4acls and it almost does things like real world users expect. I never understood why write permission to a directory allowes file unlinking inside, even if the user has no write permission on that file..= =2E With addidional acls, this is even worse. One simple solution is the sticky bit. But I can't inherit it with nfs4ac= ls. How would a patch best accomplish that? Should mkdir respect the sticky bit? How is current group inheritance with mkdir implemented? I'd really need a sysctl or kernel compile option which enables sticky bit inheritance. Thanks for any help, -Harry --------------enigC9E489660CC66C058FA4279D Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iEYEARECAAYFAlD4LmcACgkQLDqVQ9VXb8j2oACfc7AxE/z1MRX5hUeEqnHGD0lr 2NUAoLxCtJSw2cZX+SbPUTeGQmbc97KG =E+bI -----END PGP SIGNATURE----- --------------enigC9E489660CC66C058FA4279D--