This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: R: C++ program produces no output (g++ 4.3.2, cygwin 1.7)


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]