delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-1.3 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,T_RP_MATCHES_RCVD |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <4F172CD2.7030403@dancol.org> |
Date: | Wed, 18 Jan 2012 12:34:26 -0800 |
From: | Daniel Colascione <dancol AT dancol DOT org> |
User-Agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:9.0) Gecko/20111222 Thunderbird/9.0.1 |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Don't want executive attribute |
References: | <CALX7UOjv6Lgiu+P2wF-cG2=EcxE4o8WFt9d4HzLndC2_QmgvMw AT mail DOT gmail DOT com> |
In-Reply-To: | <CALX7UOjv6Lgiu+P2wF-cG2=EcxE4o8WFt9d4HzLndC2_QmgvMw@mail.gmail.com> |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
--------------enig419C3437639CBDEA390ECA59 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 1/17/12 1:32 AM, Pan ruochen wrote: > Hi Al, >=20 > Cygwin treat most of files executive. But I really don't like this > feature. Is there any option to disable it? >=20 Here excerpts from my configuration files. I can't change the executable permission issue, but I can tweak my environment so that the executable bit isn't in my face all the time: .profile: if [[ -z $LS_COLORS ]] && [[ -r ~/.dircolors ]]; then eval "`dircolors -b ~/.dircolors`" fi .dircolors # Don't highlight files just because they have the exec bit set EXEC 00 .cmd 01;32 # executables (bright green) .exe 01;32 .com 01;32 .btm 01;32 .bat 01;32 .sh 01;32 .csh 01;32 .bashrc: alias ls=3D'LANG=3Den_US ls -Gh --file-type --color=3Dtty --hide=3D"\$RECYCLE.BIN" --hide=3D"System Volume Information" --hide=3D"ntuser.dat*" --hide=3D"NTUSER.DAT*"' # Complete foo.exe as foo, not foo.exe shopt -s completion_strip_exe # For purposes of completion don't treat files with the following # extensions as EXECIGNORE=3D*.dll:*.config:*.manifest:*.msc --------------enig419C3437639CBDEA390ECA59 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (Darwin) Comment: GPGTools - http://gpgtools.org iEYEARECAAYFAk8XLNwACgkQ17c2LVA10VuoAACdGBGvYdjSDjYPIIkb7bYXbqd4 VYEAniohs8cmqtfL7NPtaAW0POrjNw70 =l62J -----END PGP SIGNATURE----- --------------enig419C3437639CBDEA390ECA59--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |