X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-3.0 required=5.0 	tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS
X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: Eric Lilja <mindcooler@gmail.com>
Subject:  Re: R: C++ program produces no output (g++ 4.3.2, cygwin 1.7)
Date:  Fri, 24 Apr 2009 13:29:55 +0200
Lines: 39
Message-ID: <gss7rj$vf3$1@ger.gmane.org>
References:  <38415.45131.qm@web25001.mail.ukl.yahoo.com> <gsrq9r$lck$1@ger.gmane.org> <20090424081506.GC8722@calimero.vinschen.de>
Mime-Version:  1.0
Content-Type:  text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding:  7bit
User-Agent: Thunderbird 2.0.0.21 (Windows/20090302)
In-Reply-To: <20090424081506.GC8722@calimero.vinschen.de>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@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

Corinna Vinschen wrote:
> On Apr 24 09:38, Eric Lilja wrote:
>> cp Makefile Makefile3
>> then I opened it with my native windows emacs and it only says: file  
>> exists but cannot be read. So I checked the permissions on it with ls -l:
>> $ ls -l Makefile3
>> ---------- 1 mindcooler None 299 Apr 24 09:32 Makefile3
>>
>> and the original:
>> $ ls -l Makefile
>> ----------+ 1 Guest None 299 Sep 13  2007 Makefile
>>
>> but emacs has no problem working with the original. What's going on?  
>> Having to chmod copied files to be able to work with them seems odd.
> 
> Did you notice the '+' at the end of the original permissions?  You
> know what it means?  `getfacl Makefile' will show you the additional
> permissions in the ACL.  cp does not copy additional permissions given
> in an ACL.  YOu should fix the permissions of the original file in the
> first place.

Hello Corinna and thanks for your reply.
These files have been created over the course of a number of years and I 
don't remember having to do anything with the permissions before, to 
able to edit, copy, move etc. When I format my computer and install 
cygwin fresh I will have these files (my programming projects) ready on 
a DVD. Quite recently, however, I moved from XP to Vista and some of 
these projects haven't been touched since I used XP (like the one I've 
been asking about in this thread). Do you think that is the problem, me 
moving from XP to Vista and using files I in some cases created several 
years ago? The permissions got screwed in the transition from XP to Vista?
Also, what should I do to have proper permissions on these (text files)? 
I'm talking Makefiles and source files for a number of languages.

- EL
> 
> 
> Corinna
> 


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

