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 > --------------------------------------------------------------- > > 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. > > 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. -- Pawel Jakub Dawidek http://www.wheel.pl p...@freebsd.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am!
pgpoGUKsyza8F.pgp
Description: PGP signature