This is the mail archive of the cygwin-patches mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] Create directories with 755 instead of 644.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]