summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/path.cc
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/path.cc')
-rw-r--r--winsup/cygwin/path.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/winsup/cygwin/path.cc b/winsup/cygwin/path.cc
index b70e0a290..3b5163eca 100644
--- a/winsup/cygwin/path.cc
+++ b/winsup/cygwin/path.cc
@@ -1248,7 +1248,8 @@ out:
if (saw_symlinks)
set_has_symlinks ();
- if (!error && !isdir () && !(path_flags & PATH_ALL_EXEC))
+ if (!error && !isdir () && !(path_flags & PATH_ALL_EXEC)
+ && !fs.has_acls () && !fs.is_nfs ())
{
const char *p = strchr (path, '\0') - 4;
if (p >= path &&