diff options
Diffstat (limited to 'winsup/cygwin/path.cc')
-rw-r--r-- | winsup/cygwin/path.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/path.cc b/winsup/cygwin/path.cc index 3bd8d9834..22818839a 100644 --- a/winsup/cygwin/path.cc +++ b/winsup/cygwin/path.cc @@ -840,7 +840,7 @@ out: if (fs.update (path)) { debug_printf ("this->path(%s), has_acls(%d)", path, fs.has_acls ()); - if (fs.has_acls () && allow_ntsec && wincap.has_security ()) + if (fs.has_acls () && allow_ntsec) set_exec (0); /* We really don't know if this is executable or not here but set it to not executable since it will be figured out later by anything which cares about this. */ |