On 25.04.24 01:50, Michael Paquier wrote:
On Wed, Apr 24, 2024 at 09:25:09AM -0400, Tom Lane wrote:I agree. Do you want to do the honors?Good catch. The same check happens when the object is opened. Note that you should be able to remove utils/acl.h at the top of be-fsstubs.c as this would remove the last piece of code that does an ACL check in this file. No objections with doing that now, removing this code.
utils/acl.h is still needed for object_ownercheck() called in be_lo_unlink().