even if ntsec is on if filesystem doesn't support ACLs.
+Wed May 31 16:40:00 2000 Corinna Vinschen <corinna@vinschen.de>
+
+ * fhandler.cc (fhandler_disk_file::open): Check for executable
+ even if ntsec is on if filesystem doesn't support ACLs.
+
Wed May 31 15:57:00 2000 Corinna Vinschen <corinna@vinschen.de>
* dcrt0.cc: Use LoadDLLfuncEx for loading Crypto API functions
extern BOOL allow_ntea;
extern BOOL allow_ntsec;
- if (!real_path.isexec () && !allow_ntea && !allow_ntsec &&
- GetFileType (get_handle ()) == FILE_TYPE_DISK)
+ if (!real_path.isexec () && !allow_ntea
+ && (!allow_ntsec || !real_path.has_acls ())
+ && GetFileType (get_handle ()) == FILE_TYPE_DISK)
{
DWORD done;
char magic[3];