I attempted to build the Cygwin DLL from CVS today and encountered permission denied errors from the install target in winsup/cygwin. The problem appears to be that directories are precreated using "install -m 644". With 644 permissions, subsequent install calls to copy files to those directories fail.

The following patch fixed the problem for me.

ChangeLog for winsup/cygwin:

2005-10-13  David Rothenberger <[EMAIL PROTECTED]>

        * Makefile.in:  Create directories with 755 permissions.

--
David Rothenberger                spammer? -> [EMAIL PROTECTED]
GPG/PGP: 0x7F67E734, C233 365A 25EF 2C5F C8E1 43DF B44F BA26 7F67 E734

Klatu barada nikto.
Index: Makefile.in
===================================================================
RCS file: /cvs/src/src/winsup/cygwin/Makefile.in,v
retrieving revision 1.181
diff -u -p -r1.181 Makefile.in
--- Makefile.in 11 Oct 2005 18:27:05 -0000      1.181
+++ Makefile.in 13 Oct 2005 20:35:25 -0000
@@ -69,7 +69,7 @@ OBJCOPY:[EMAIL PROTECTED]@
 OBJDUMP:[EMAIL PROTECTED]@
 STRIP:[EMAIL PROTECTED]@
 LDSCRIPT:=cygwin.sc
-MKDIRP:=$(INSTALL_DATA) -d
+MKDIRP:=$(INSTALL_DATA) -d -m 755
 
 #
 # Include common definitions for winsup directory

Reply via email to