delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/10/28/17:03:27

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019