Don't want executive attribute

Csaba Raduly rcsaba@gmail.com
Wed Jan 18 09:47:00 GMT 2012


Hi,

On Wed, Jan 18, 2012 at 4:46 AM, Pan ruochen wrote:
>
> Actually I don't have any problem about this.
> I just want cygwin more colorful as most of *NIX terminals do, i.e.
> red for tar/zip files, green for executables.
> And I notice that if I touch a new file on cygiwn, the new-created
> file has no executable attribute.
> Based on that, I wonder whether I can change the default attributes
> for files which have existed before cygwin is installed.

If you create a file using Cygwin programs (e.g. touch), usually it
won't have the executable bit (unless it's the linker or some other
program which is meant to create executables.
However, files created by (non-Cygwin) Windows programs appear as
executable to Cygwin (run ls -l on /cygdrive/c/Users/*/Documents and
you'll see all files with the x bit).

Hope this helps,
Csaba
-- 
GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++
The Tao of math: The numbers you can count are not the real numbers.
Life is complex, with real and imaginary parts.
"Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torvalds
"People disagree with me. I just ignore them." -- Linus Torvalds

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list