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: Execute permission not set when creating files


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.)

    --- John.



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