This is the mail archive of the
mailing list for the Cygwin project.
permission denied while executing files which have execute permission
- From: Jeff Janes <jeff dot janes at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Fri, 4 May 2012 10:24:05 -0700
- Subject: permission denied while executing files which have execute permission
Twice in the last week I've run into a problem where I can't execute
programs which have the correct execute permissions set under both
chmod and setfacl.
It took me a long time to track it down to the issue described here:
The presence of error 740 in the strace seems be pathognomonic for this problem.
strace: error creating process
C:\cygwin\home\jjanes\patch-2.6.1\src\patch.exe, (error 740)
This persists up to DLL version 1.7.14-2
Given how hard this was to track down, could a note be added in the
cygwin FAQs about this?
I ran into this problem trying to build an updated patch.exe (which I
needed to build coreutils, but which I see I no longer need as an
upgrade for patch.exe was released this morning), and also in trying
to build coreutils from the upstream source due to the ginstall.exe
For the curious, the reason I'm trying to build coreutils from source
is to figure out why "cut" is so slow. On Linux, setting LANG=C makes
cut much faster, but on cygwin this setting does not result in a speed
up for 'cut'. But first things first.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple