It is currently Mon, 22 Dec 2014 16:06:19 GMT



 
Author Message
 Linux time zone problem?
Linux time zone problem?

Why are the file dates local time in telnet ls -la, but when I upload files
with a FTP client, the ftp program shows the time as 7 hours ahead (GMT)? Is
there some setting to correct this so local time shows on uploaded files in
FTP?

Server and client are both in the Pacific Time Zone (Seattle Washington)

'/etc/sysconfig/clock' contains:
zone=America/Vancouver
utc=false
arc=false

'date' command:
Fri May 31 14:39:15 PDT 2002

'hwclock' command:
Fri 31 May 2002 02:39:06 PM PDT

cuteFTP file just uploaded:
05/31/2002 09:39:00 PM (viewed in cute ftp window)

Server:  Redhat Linux 7.2
Client: Cute FTP Pro 2.0 on Win XP pro

Thanks for any help,

Mike c



 Wed, 17 Nov 2004 06:22:29 GMT   
 Linux time zone problem?
Mike Challis wrote Samstag, 1. Juni 2002 00:22:

The Server keeps track of it's own time and reports the file creation time
fron it's own view back to the ftp-client.

Do you have root access to the Server?
Is the server cmos clock set to GMT?

--

MfG
Thomas Papendieck



 Thu, 18 Nov 2004 20:48:10 GMT   
 Linux time zone problem?

Since you have "utc=false" in your /etc/sysconfig/clock file,
the times reported by 'hwclock' and 'date' should be identical.

Are you aware that when you set your Linux clock using the
'date' command, the setting is not automatically written
to the cmos clock?  See 'man hwclock' for the options to
transfer the Linux system time to the cmos clock (or vice-versa).



 Fri, 19 Nov 2004 02:53:54 GMT   
 
   [ 3 post ] 

Similar Threads

1. Linux time zone problem

2. how to set time and time zone correctly?

3. get local time from the time zone

4. Time zone for BST (British Summer Time)

5. Time Sync across time zones

6. time zone problem

7. Redhat 6.0 Time Zone or Date Problem

8. Time zone problem - local vs UTC


 
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software