This is the mail archive of the
cygwin-patches
mailing list for the Cygwin project.
Re: [patch] Create directories with 755 instead of 644.
- From: Christopher Faylor <cgf-no-personal-reply-please at cygwin dot com>
- To: cygwin-patches at cygwin dot com
- Date: Thu, 13 Oct 2005 22:15:58 -0400
- Subject: Re: [patch] Create directories with 755 instead of 644.
- References: <434EC646.2070800@acm.org>
- Reply-to: cygwin-patches at cygwin dot com
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.
cgf