summaryrefslogtreecommitdiff
path: root/nt
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>2008-01-30 07:57:28 +0000
committerMiles Bader <miles@gnu.org>2008-01-30 07:57:28 +0000
commitd235ca2ff8fab139ce797757fcb159d1e28fa7e0 (patch)
tree96c5cd1a06a0d9dc26e8470c6eabfc032c0046f3 /nt
parent3709a060f679dba14df71ae64a0035fa2b5b3106 (diff)
parent02cbe062bee38a6705bafb1699d77e3c44cfafcf (diff)
downloademacs-d235ca2ff8fab139ce797757fcb159d1e28fa7e0.tar.gz
Merge from emacs--devo--0
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-324
Diffstat (limited to 'nt')
-rw-r--r--nt/ChangeLog5
-rw-r--r--nt/gmake.defs10
2 files changed, 15 insertions, 0 deletions
diff --git a/nt/ChangeLog b/nt/ChangeLog
index 752a4f7dc7e..ac9d7fc3ca1 100644
--- a/nt/ChangeLog
+++ b/nt/ChangeLog
@@ -1,3 +1,8 @@
+2008-01-20 Jason Rumney <jasonr@gnu.org>
+
+ * gmake.defs (CYGWIN) [USING_SH]: Disable mapping of file
+ permissions to NTFS ACLs.
+
2007-11-01 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
* config.nt: Remove HAVE_X11R5.
diff --git a/nt/gmake.defs b/nt/gmake.defs
index e782c203e76..6bc5e247886 100644
--- a/nt/gmake.defs
+++ b/nt/gmake.defs
@@ -99,6 +99,16 @@ sh_output := $(shell echo foo")
ifeq "$(sh_output)" ""
NEW_CYGWIN = 1
endif
+
+# By default, newer versions of Cygwin mess with NTFS ACLs in an
+# attempt to emulate traditional posix file permissions. This can
+# cause bad effects, such as .exe files that are missing the
+# FILE_EXECUTE/FILE_GENERIC_EXECUTE permissions when they are created
+# with Cygwin commands that don't expect to be creating executable
+# files. Then when we later use a non-Cygwin program to create the
+# real .exe, the previous Cygwin defined ACL sticks.
+CYGWIN=nontsec
+export CYGWIN
endif
ALL_DEPS = $^