summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/path.cc
diff options
context:
space:
mode:
authorPierre Humblet <phumblet@phumblet.no-ip.org>2004-10-06 01:33:39 +0000
committerPierre Humblet <phumblet@phumblet.no-ip.org>2004-10-06 01:33:39 +0000
commitb0637a519141d657c25eb08dd80dd8ad05df6a4e (patch)
treef7622d609c11acbbfaa43811691533cfd063d498 /winsup/cygwin/path.cc
parent49a8b8f05cc85693a05dede399f4dfa5a829b718 (diff)
downloadcygnal-b0637a519141d657c25eb08dd80dd8ad05df6a4e.tar.gz
cygnal-b0637a519141d657c25eb08dd80dd8ad05df6a4e.tar.bz2
cygnal-b0637a519141d657c25eb08dd80dd8ad05df6a4e.zip
2004-10-05 Pierre Humblet <pierre.humblet@ieee.org>
* external.cc (check_ntsec): Do not call wincap.has_security. * path.cc (path_conv::check): Ditto. * security.cc (get_object_attribute): Ditto. (get_file_attribute): Ditto.
Diffstat (limited to 'winsup/cygwin/path.cc')
-rw-r--r--winsup/cygwin/path.cc2
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. */