From owner-freebsd-questions@FreeBSD.ORG Sat Feb 9 08:49:21 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4D94D16A419 for ; Sat, 9 Feb 2008 08:49:21 +0000 (UTC) (envelope-from malcolm.kay@internode.on.net) Received: from ipmail04.adl2.internode.on.net (ipmail04.adl2.internode.on.net [203.16.214.57]) by mx1.freebsd.org (Postfix) with ESMTP id DFCEF13C447 for ; Sat, 9 Feb 2008 08:49:20 +0000 (UTC) (envelope-from malcolm.kay@internode.on.net) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ah4FAO/xrEd5LXE7/2dsb2JhbACBWacw X-IronPort-AV: E=Sophos;i="4.25,326,1199626200"; d="scan'208";a="48782712" Received: from ppp121-45-113-59.lns11.adl6.internode.on.net (HELO alpha.home) ([121.45.113.59]) by ipmail04.adl2.internode.on.net with ESMTP; 09 Feb 2008 19:04:03 +1030 From: Malcolm Kay Organization: at home To: freebsd-questions@freebsd.org Date: Sat, 9 Feb 2008 19:04:01 +1030 User-Agent: KMail/1.8 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200802091904.01935.malcolm.kay@internode.on.net> Subject: ls time/date format from ftpd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Feb 2008 08:49:21 -0000 The default output from ls in a normal shell on my system is mode links owner group size month day time/year filename corresponding to LANG=C or en_US... For most other locales month and day are swapped, including mine { LANG=en_AU.ISO8859-1 }. When I access my account from another machine via ftp the ls command always reports day before month whether or not I attempt to set the locale. All this suits my sensibilities but it upsets MS Windows. Mounting under windows as a network place MS becomes very confused in trying to interpret directory listings in which the day precedes the maonth. Is there someway to force ftpd to report ls according to the LANG=C default so that I can successfully access through windows. Any ideas please? The FreeBSD system is 6.3-Release and the windows W2K. Malcolm Kay