svn commit: samba r4514 - in branches/SAMBA_3_0/source/include: .

jmcd at samba.org jmcd at samba.org
Tue Jan 4 20:02:56 GMT 2005


Author: jmcd
Date: 2005-01-04 20:02:56 +0000 (Tue, 04 Jan 2005)
New Revision: 4514

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

Log:
Fix for bugzilla 1770.  Remove READ_ATTRIBUTES from GENERIC_EXECUTE, otherwise
modification of an ACL that contains an ACE with execute only will cause
that to be upgraded to read/execute.  Side effect is that dirs/files with
execute only show up as special permissions, which is still correct.

Modified:
   branches/SAMBA_3_0/source/include/smb.h


Changeset:
Modified: branches/SAMBA_3_0/source/include/smb.h
===================================================================
--- branches/SAMBA_3_0/source/include/smb.h	2005-01-04 15:18:50 UTC (rev 4513)
+++ branches/SAMBA_3_0/source/include/smb.h	2005-01-04 20:02:56 UTC (rev 4514)
@@ -1066,7 +1066,7 @@
 #define FILE_GENERIC_WRITE (STANDARD_RIGHTS_WRITE_ACCESS|FILE_WRITE_DATA|FILE_WRITE_ATTRIBUTES|\
 							FILE_WRITE_EA|FILE_APPEND_DATA|SYNCHRONIZE_ACCESS)
 
-#define FILE_GENERIC_EXECUTE (STANDARD_RIGHTS_EXECUTE_ACCESS|FILE_READ_ATTRIBUTES|\
+#define FILE_GENERIC_EXECUTE (STANDARD_RIGHTS_EXECUTE_ACCESS|\
 								FILE_EXECUTE|SYNCHRONIZE_ACCESS)
 
 /* Mapping of access rights to UNIX perms. */



More information about the samba-cvs mailing list