Files
mirror_zfs/tests/zfs-tests/tests/functional
Andrew 66e6d3f128 Fix regression in POSIX mode behavior
Commit 235a85657 introduced a regression in evaluation of POSIX modes
that require group DENY entries in the internal ZFS ACL. An example
of such a POSX mode is 007. When write_implies_delete_child is set,
then ACE_WRITE_DATA is added to `wanted_dirperms` in prior to calling
zfs_zaccess_common(). This occurs is zfs_zaccess_delete().

Unfortunately, when zfs_zaccess_aces_check hits this particular DENY
ACE, zfs_groupmember() is checked to determine whether access should be
denied, and since zfs_groupmember() always returns B_TRUE on Linux and
so this check is failed, resulting ultimately in EPERM being returned.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Ryan Moeller <ryan@iXsystems.com>
Signed-off-by: Andrew Walker <awalker@ixsystems.com>
Closes #11760
2021-03-19 22:50:46 -07:00
..
2021-03-19 22:50:46 -07:00
2020-10-08 09:40:23 -07:00
2020-02-25 16:23:27 -08:00
2019-12-18 12:29:43 -08:00
2020-01-15 16:23:29 -08:00
2019-09-02 18:14:53 -07:00
2019-12-18 12:29:43 -08:00
2020-11-05 17:16:25 -08:00
2020-10-13 21:25:48 -07:00
2020-08-20 10:30:06 -07:00
2019-12-18 12:29:43 -08:00
2017-05-22 12:34:32 -04:00
2020-11-13 13:51:51 -08:00
2020-10-13 21:25:48 -07:00
2020-06-26 14:20:02 -07:00
2021-01-23 15:42:42 -08:00
2020-06-09 21:24:09 -07:00
2020-01-31 08:51:23 -08:00
2020-06-09 21:24:09 -07:00
2020-06-24 18:45:44 -07:00
2017-09-25 10:32:34 -07:00
2019-09-02 18:08:56 -07:00
2020-07-14 17:33:44 -07:00
2020-11-13 13:51:51 -08:00
2020-05-08 13:50:02 -07:00
2017-05-22 12:34:32 -04:00
2019-08-30 16:52:00 -07:00
2019-12-18 12:29:43 -08:00
2020-06-18 12:20:38 -07:00
2020-11-13 13:51:51 -08:00
2019-12-18 12:29:43 -08:00
2019-10-03 09:39:13 -07:00
2020-06-09 21:24:09 -07:00
2020-10-09 09:29:21 -07:00
2020-10-09 09:29:21 -07:00