X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Tue, 28 Oct 2008 18:02:26 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: Execute permission not set when creating files Message-ID: <20081028220226.GA17358@ednor.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <8482EC0DCFAD453DB586BF083A37715C AT ra> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8482EC0DCFAD453DB586BF083A37715C@ra> User-Agent: Mutt/1.5.16 (2007-06-09) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On Tue, Oct 28, 2008 at 09:55:08PM -0000, John Cooper wrote: >I've just upgraded to the latest version of Cygwin (1.5.25-15) and found >that the execute bit is not getting set when I create files: > >$ umask 'u=rwx,g=r,o=r' >$ touch a >$ ls -l a >-rw-r--r-- 1 John None 0 Oct 28 21:42 a > >(the execute permission also doesn't get set when I use the default umask >0022). > >The resulting problem is that any files I create cannot be accessed when I >log in using my wife's login account. >Such files used to be accessible from my wife's account when I used an >earlier version of Cygwin (probably from around 1-2 years ago). > >Any ideas how to fix this? I've attached the output of `cygcheck -s -v' in >case that helps. Are you sure you're using the cygwin version of all utilities? You seem to have some duplication between c:\cygwin\bin and c:\bin. So I'm wondering if you have another version of touch somewhere. cgf >Found: c:\bin\ls.exe >Warning: c:\cygwin\bin\ls.exe hides c:\bin\ls.exe -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/