[plug] Recovering from munged permissions

Cameron Patrick cameron at patrick.wattle.id.au
Sat Jul 5 01:23:25 WST 2003


On Sat, Jul 05, 2003 at 12:57:25AM +0800, James Devenish wrote:

| > On an unrelated note:  at one point "ls" used to sort ASCIIbetically
| > with uppercase letters and dotfiles at the top. Recent versions seem to have
| > stopped doing that and sort case insensitively, ignoring preceding dots.
| 
| AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAARGH.

:-)

| Perhaps try setting your LANG to something POSIX-like (e.g. try POSIX C
| to see if it makes a difference).

Hmm... I think you may have cracked it.  Ordinarily, LANG is set to
en_AU (on account of me speaking English and being Australian).  But if
I do "LANG=C ls" it sorts sensibly.  But if I keep LANG set to C, mutt
displays accented characters oddly.  Which is to say, not at all.
Probably it introduces other brokenness as well.

It seems as though setting LANG to anything but C does this (e.g. en_GB,
en_US, fr_FR).  Why?  WHY????  I'm going to dig into the coreutils
source to see if there's anything useful there, but I'm not holding my
breath...

| PS. What OS is this? What version of fileutils?

Debian sid, coreutils 5.0-4.

Cameron.



More information about the plug mailing list