* fhandler.cc (fhandler_disk_file::open): Check for executable
even if ntsec is on if filesystem doesn't support ACLs.
This commit is contained in:
parent
c719f9429a
commit
c9e2a0ff55
|
@ -1,3 +1,8 @@
|
|||
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
|
||||
|
|
|
@ -1189,8 +1189,9 @@ fhandler_disk_file::open (path_conv& real_path, int flags, mode_t mode)
|
|||
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];
|
||||
|
|
Loading…
Reference in New Issue