X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
From: "John Cooper" <super.cooper@ntlworld.com>
To: <cygwin@cygwin.com>
Cc: <john.cooper@eu.citrix.com>
Subject: Re: Execute permission not set when creating files
Date: Tue, 28 Oct 2008 22:15:45 -0000
Message-ID: <F3401EC5DBFB4958AC04C4A236C81921@ra>
MIME-Version: 1.0
Content-Type: text/plain; 	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Office Outlook 11
X-Plusnet-Relay: 7ec5d5a4cac2c3332155b8d5b8014ec0
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Christopher Faylor wrote:

  > 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.

I have a custom version of `ls' in the bin directly, but it's definitely the
Cygwin version of `touch'.
I also get the same problem when I run `echo hi > b.txt':

$ umask  
022
$ type echo                                                     
echo is a shell builtin
echo is /c/cygwin/bin/echo
$ echo hi > b.txt                                              
$ ls -l b.txt                                                      
-rw-r--r-- 1 John None 3 Oct 28 22:08 b.txt

(btw, I've tried with zsh and bash and the problem occurs with both.)

    --- John.



--
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/

