svn commit: r299448 - in head/sys/cddl/contrib/opensolaris: common/acl uts/common/fs/zfs uts/common/sys

Jan Beich jbeich at vfemail.net
Tue Jun 14 12:56:36 UTC 2016


Alexander Motin <mav at FreeBSD.org> writes:

> Author: mav
> Date: Wed May 11 13:43:20 2016
> New Revision: 299448
> URL: https://svnweb.freebsd.org/changeset/base/299448
>
> Log:
>   MFV r299442: 6762 POSIX write should imply DELETE_CHILD on directories - and
>   some additional considerations
>   
>   Reviewed by: Gordon Ross <gwr at nexenta.com>
>   Reviewed by: Yuri Pankov <yuri.pankov at nexenta.com>
>   Author: Kevin Crowe <kevin.crowe at nexenta.com>
>   
>   openzfs/openzfs at d316fffc9c361532a482208561bbb614dac7f916

This commit confuses acl_is_trivial_np(3). Notice '+' in ls(1) and 'D'
in getfacl(1) outputs.

  $ ls -ld /etc
  drwxr-xr-x  28 root  wheel  121 Jun 10 11:03 /etc
  $ getfacl -q /etc
              owner@:rwxp--aARWcCos:-------:allow
              group@:r-x---a-R-c--s:-------:allow
           everyone@:r-x---a-R-c--s:-------:allow

  $ mkdir /foo
  $ ls -ld /foo
  drwxr-xr-x+  2 root  wheel    2 Jun 14 08:17 /foo
  $ getfacl -q /foo
              owner@:rwxpD-aARWcCos:-------:allow
              group@:r-x---a-R-c--s:-------:allow
           everyone@:r-x---a-R-c--s:-------:allow  

  $ zfs get all rootfs | fgrep acl
  rootfs     aclmode               discard                default
  rootfs     aclinherit            restricted             default
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 602 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-src-head/attachments/20160614/2cab538e/attachment.sig>


More information about the svn-src-head mailing list