]> granicus.if.org Git - zfs/commit
Allow chown/chgrp when no ACL SAs exist.
authorTim Chase <tim@chase2k.com>
Sat, 18 Jan 2014 16:46:43 +0000 (10:46 -0600)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 23 Jan 2014 19:07:29 +0000 (11:07 -0800)
commit4461aa6118fa55dc83f5d75c6d428767c3634fba
tree61f1c8eeeb2985aea613df4d3a882c5718706954
parent04aa2de8f788654dda15e0b598fc874915b0fc06
Allow chown/chgrp when no ACL SAs exist.

From the comment in the commit:

Some ZFS implementations (ZEVO) create neither a ZNODE_ACL nor a DACL_ACES
SA in which case ENOENT is returned from zfs_acl_node_read() when the
SA can't be located.  Allow chown/chgrp to succeed in these cases rather
than returning an error that makes no sense in the context of the caller.

Signed-off-by: Tim Chase <tim@chase2k.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Issue zfs-osx/zfs#86
Closes #1911
Closes #2029
module/zfs/zfs_acl.c