delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
Date: | Fri, 24 Apr 2009 10:15:06 +0200 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: R: C++ program produces no output (g++ 4.3.2, cygwin 1.7) |
Message-ID: | <20090424081506.GC8722@calimero.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <38415 DOT 45131 DOT qm AT web25001 DOT mail DOT ukl DOT yahoo DOT com> <gsrq9r$lck$1 AT ger DOT gmane DOT org> |
MIME-Version: | 1.0 |
In-Reply-To: | <gsrq9r$lck$1@ger.gmane.org> |
User-Agent: | Mutt/1.5.19 (2009-02-20) |
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 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. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- 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 |