www.delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
Date: | Tue, 28 Oct 2008 19:28:04 -0400 |
From: | Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Execute permission not set when creating files |
Message-ID: | <20081028232804.GA17638@ednor.casa.cgf.cx> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <F3401EC5DBFB4958AC04C4A236C81921 AT ra> |
MIME-Version: | 1.0 |
In-Reply-To: | <F3401EC5DBFB4958AC04C4A236C81921@ra> |
User-Agent: | Mutt/1.5.16 (2007-06-09) |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
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 10:15:45PM -0000, John Cooper wrote: >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.) Actually, if you try this similar exercise under linux you'll see similar behavior. I should have realized that before suggesting that you had another version of touch. cgf -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |