X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org MIME-Version: 1.0 In-Reply-To: References: <641947393 DOT 20120117170156 AT mtu-net DOT ru> Date: Wed, 18 Jan 2012 10:47:12 +0100 Message-ID: Subject: Re: Don't want executive attribute From: Csaba Raduly To: cygwin AT cygwin DOT com, panruochen AT gmail DOT com Content-Type: text/plain; charset=ISO-8859-1 Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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