Re: ls time/date format from ftpd

2008-02-13 Thread Malcolm Kay
Solved.

On Sat, 9 Feb 2008 07:04 pm, Malcolm Kay wrote:
 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

It seems ftpd was started manually by root via /etc/rc.d/ftpd 
with LANG=en_AU.ISO8859-1 set. 

Autostart at boot of ftpd fixes problem.

Sorry for the noise.

Malcolm Kay
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


ls time/date format from ftpd

2008-02-09 Thread Malcolm Kay
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
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]