My Redhat 6.2 system has a peculiar configuration, the system date is
set for EST, but the file dates on "ls -l" appear to have UTC by
default. Look what happens when I do the following (I have edited this
slightly to avoid username info):
Fri Jan 19 13:06:09 EST 2001
$ touch here
$ ls -l here
-rw-rw-r-- 1 xxxx xxxxxx 0 Jan 19 18:06 here
$ date -u
Fri Jan 19 18:06:24 UTC 2001
I have tried changing the UTC=true and UTC=false in
the /etc/sysconfig/clock with no improvement (the file dates and the
default "date" dates are always off by the timezone difference between
UTC and EST).
I have set my "TZ" environement variable in my shell, and that doesn't
seem to help either.
Intuitively the "ls -l" dates should show up in the time zone of the
system, right? How can I set Redhat do be this way.
Sent via Deja.com