ZFS group ownership
Pawel Jakub Dawidek
pjd at FreeBSD.org
Tue Sep 22 13:02:16 UTC 2009
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
pjd at FreeBSD.org http://www.FreeBSD.org
FreeBSD committer Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20090922/2240dc91/attachment.pgp
More information about the freebsd-hackers
mailing list