Actually after further investigations, samba it looks like samba still calculates posix acls a bit differently from native system.
This patch solved my problem with executables, but I still get some unexpected permissions (I can live with them...). Maybe someone who really knows how POSIX acls works, could have a look at samba posix acl handling.
And sorry, I put incorrect link to the patch. I used corrected version.
It seems that it was not included into samba fixes. I have also added comment to: /bugzilla. samba.org/ show_bug. cgi?id= 4268
https:/
Actually after further investigations, samba it looks like samba still calculates posix acls a bit differently from native system.
This patch solved my problem with executables, but I still get some unexpected permissions (I can live with them...). Maybe someone who really knows how POSIX acls works, could have a look at samba posix acl handling.
And sorry, I put incorrect link to the patch. I used corrected version.