Date: Tue, 22 Sep 2009 15:02:12 +0200 From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: Giulio Ferro <auryn@zirakzigil.org> Cc: freebsd-hackers@freebsd.org Subject: Re: ZFS group ownership Message-ID: <20090922130212.GK6038@garage.freebsd.pl> In-Reply-To: <4AAB8AD0.5010302@zirakzigil.org> References: <4AAB8AD0.5010302@zirakzigil.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--CqfQkoYPE/jGoa5Q Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Sep 12, 2009 at 01:49:36PM +0200, Giulio Ferro wrote: [...] > Now I try to do the same on a zfs partition on the same machine > This is what I see with ls > --------------------------------------------------------------- > ls -la > total 4 > drwxrwx--- 3 www www 4 Sep 12 13:43 . > drwxr-xr-x 4 root wheel 4 Sep 12 13:43 .. > drwxrwx--- 2 gferro gferro 2 Sep 12 13:43 asda > -rw-rw---- 1 gferro gferro 0 Sep 12 13:43 qweq > --------------------------------------------------------------- >=20 > As you can see, both file and directory belongs now to "gferro" and > not "www". This means that other users won't even be able to read > my files / dir, let alone modify them. >=20 > What I ask now is: is this a bug or a feature? This is a bug. I changed default ZFS behaviour (which is SYSV) to match BSD behaviour (ie. inherit group ownership from the parent directory), but it become broken during v6 -> v13 switch. Could you file PR for this, I should be able to fix it before 8.0-RELEASE. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --CqfQkoYPE/jGoa5Q Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFKuMrUForvXbEpPzQRAnliAJ9/BbGB/BEMQVV2cAsHGOsRfSktsACgnryx oLXI7zlzdymut0QzNfZ6rjc= =ktg1 -----END PGP SIGNATURE----- --CqfQkoYPE/jGoa5Q--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090922130212.GK6038>