Re: Executable flag

2005-11-04 Thread Arturus Magi
David Rasmussen wrote: 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. Part of the reason for this is because on Windows th

Re: Executable flag

2005-10-26 Thread Igor Pechtchanski
On Wed, 26 Oct 2005, Brian Dessent wrote: > David Rasmussen wrote: > > > 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. >

Re: Executable flag

2005-10-26 Thread Brian Dessent
David Rasmussen wrote: > 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. This is really out of Cygwin's control. The permissi

Re: Executable flag

2005-10-26 Thread Joe Smith
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 The problem is that windows programs

Re: Executable flag

2005-10-26 Thread David Rasmussen
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 syst

Re: Executable flag

2005-10-26 Thread Eric Blake
> 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 s

Re: Executable flag

2005-10-26 Thread David Rasmussen
Thomas Cook wrote: try setting the umask to not include it. Okay. Is there a way to not have Windows applications (e.g. notepad) setting the x flag on every file created (as seen within cygwin)? /David -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: