[PATCHES] smbd: allow reading files when only FILE_EXECUTE access is granted

David Disseldorp ddiss at suse.de
Wed Aug 17 22:39:05 UTC 2016


On Tue, 16 Aug 2016 11:37:48 +0200, David Disseldorp wrote:

> > Here's an updated patch set which passes with btrfs. Only the "allow
> > opening files with arbitrary rights in smb2.ioctl tests" has been
> > modified, to be more conservative and not change test behavior for
> > previous tests (a single open if possible).  
> 
> Thanks. I've reviewed and pushed all changes except for the top commit.
> The top change looks fine, but I'd nevertheless like an extra set of
> eyes on it before pushing.

I've looked closer at the FLAGS2_READ_PERMIT_EXECUTE and CHECK_READ()
paths and am convinced that the top commit is correct. I'll push it
tomorrow unless someone else gets to it before I do.

Cheers, David



More information about the samba-technical mailing list