bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ls --color=tty


From: Eric Blake
Subject: Re: ls --color=tty
Date: Fri, 25 Apr 2008 07:04:42 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.12) Gecko/20080213 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to tiger peng on 4/22/2008 7:46 AM:
| Hello,
|
| Yesterday, I modified a shell script and some how it became
non-executable (-rw-r--r--) but it is still list in green color. I did not
notice the permission change until this morning when my cron jobs failed.
I can not reproduce this scenario
|
| OS: Linux 2.4.21-27.ELsmp
| Term: PuTTY XTERM
| ls --version: (coreutils) 4.5.3

This version is several YEARS old.  I would recommend upgrading to the
latest stable version, 6.11, as there have been some bug-fixes to ls
coloring in the meantime.

| ls='ls --color=tty'
|
| Have anyone run into this problem?

Perhaps the LS_COLORS environment variable, in addition to coloring
executables, is also requesting that certain file extensions be colored
green?  Did you use dircolors to prime the LS_COLORS environment variable?

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkgR1uoACgkQ84KuGfSFAYC9KgCgyNB0B9VvUVHgYu9mqfbBdZzn
5scAn0U+1/KmhetXnUJqCZDGSwQ+djL3
=LGDG
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]