From 3ae5cb32c50f08ef3cda12f36da12a7e926f705e Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Wed, 8 Oct 2008 14:58:26 +0000 Subject: * path.cc (path_conv::path_conv): Only assume executability by suffix on file systems not supporting permissions. --- winsup/cygwin/path.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'winsup/cygwin/path.cc') 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 && -- cgit v1.2.3