From ef179fddb3c4feae9d048034c035cbda71457ccc Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 30 Dec 2004 07:10:31 +0000 Subject: r4412: SEC_FILE_READ_ATTRIBUTE is always granted, even if not requested. This was being done in the full ACL code, but not in the unix access check code, which meant that qfileinfo was failing for some parameters (This used to be commit 96d017e521f5a996a7a274682838855d077834bc) --- source4/ntvfs/posix/pvfs_acl.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source4/ntvfs') diff --git a/source4/ntvfs/posix/pvfs_acl.c b/source4/ntvfs/posix/pvfs_acl.c index 6741fb851d..4cc22b0918 100644 --- a/source4/ntvfs/posix/pvfs_acl.c +++ b/source4/ntvfs/posix/pvfs_acl.c @@ -306,6 +306,8 @@ NTSTATUS pvfs_access_check_unix(struct pvfs_state *pvfs, return NT_STATUS_ACCESS_DENIED; } + *access_mask |= SEC_FILE_READ_ATTRIBUTE; + return NT_STATUS_OK; } -- cgit