Eric Blake wrote:
Is there anyway to have cygwin _not_ set the executable flag on every file it writes??

On NTFS, where POSIX semantics can be emulated, cygwin obeys
POSIX default rules (creating or opening a file does not set the
x bits unless specially requested).  On FAT, where the file system
has no good support, cygwin is helpless.  So I fail to reproduce
the problem you are reporting.  You may also want to consider
using umask.


Okay, a reproducable example:

Open cygwin. Write 'notepad test.txt'. Notepad opens, write something and then save the file. Now do an ll. The file test.txt has been created and has the executable flag set. I want it to not be set in such cases.

/David

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

Reply via email to