Re: [PATCH 4/5] t/t1304: set the mask ACL that is checked in check_perms_and_acl
- From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
- Date
- Mar 15, 2010, 17:37 UTC
- Message-ID
- <vpqy6ht5vvs.fsf@bauges.imag.fr>
- In-Reply-To
- <YowxgPZqaOkg2MZzY1CxLzeL4DIwxt_o3RKS9xen-cewKbECZA7OIb7mUaY2TbsVR_rHE5GTeU0@cipher.nrlssc.navy.mil>
Brandon Casey <casey@nrlssc.navy.mil> writes:
> test_expect_success 'Setup test repo' ' > setfacl -m d:u::rwx,d:g::---,d:o:---,d:m:rwx $dirs_to_set && > + setfacl -m m:rwx $dirs_to_set &&
The patch sounds right, but I don't understand the commit message. You set m:rwx, and check_perms_and_acl expects mask::r--, so it's not exactly what check_perms_and_acl checks.
My understanding is that you set the mask here to enforce the validity of the ACL, but then you may want to just squash this into [PATCH 2/5].
But again, that's bikeshedding, the patch serie looks right to me. Sorry for not making the test right myself ;-).
-- Matthieu Moy http://www-verimag.imag.fr/~moy/