HomeFreeBSD

Allow chown/chgrp when no ACL SAs exist.

Description

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

Details

Provenance
Tim Chase <tim@chase2k.com>Authored on Jan 18 2014, 4:46 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Jan 23 2014, 7:07 PM
Parents
rG04aa2de8f788: vdev_file_io_start() to use taskq_dispatch(TQ_PUSHPAGE)
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG4461aa6118fa: Allow chown/chgrp when no ACL SAs exist. (authored by Tim Chase <tim@chase2k.com>).Jan 23 2014, 7:07 PM