Author: tridge
Date: 2004-12-30 07:10:31 +0000 (Thu, 30 Dec 2004)
New Revision: 4412

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=4412

Log:
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



Modified:
   branches/SAMBA_4_0/source/ntvfs/posix/pvfs_acl.c


Changeset:
Modified: branches/SAMBA_4_0/source/ntvfs/posix/pvfs_acl.c
===================================================================
--- branches/SAMBA_4_0/source/ntvfs/posix/pvfs_acl.c    2004-12-30 06:51:13 UTC 
(rev 4411)
+++ branches/SAMBA_4_0/source/ntvfs/posix/pvfs_acl.c    2004-12-30 07:10:31 UTC 
(rev 4412)
@@ -306,6 +306,8 @@
                return NT_STATUS_ACCESS_DENIED;
        }
 
+       *access_mask |= SEC_FILE_READ_ATTRIBUTE;
+
        return NT_STATUS_OK;
 }
 

Reply via email to