[patch] Create directories with 755 instead of 644.

Christopher Faylor cgf-no-personal-reply-please@cygwin.com
Fri Oct 14 02:16:00 GMT 2005

On Thu, Oct 13, 2005 at 01:40:38PM -0700, David Rothenberger wrote:
>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.

Sigh.  Yes, this is a recent problem.

>The following patch fixed the problem for me.

Your patch translates to using "install -m 644 -m 755".

I'll check in a variation which just uses install -d, as I intended.

>ChangeLog for winsup/cygwin:
>2005-10-13  David Rothenberger <daveroth@acm.org>
>	* Makefile.in:  Create directories with 755 permissions.

Thanks for the patch.


More information about the Cygwin-patches mailing list