svn commit: samba r4412 - in branches/SAMBA_4_0/source/ntvfs/posix: .

tridge at samba.org tridge at samba.org
Thu Dec 30 07:10:31 GMT 2004


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;
 }
 



More information about the samba-cvs mailing list